├── .gitignore
├── .gitmodules
├── Doxyfile
├── LICENSE
├── README.md
├── Samples
├── AsyncAwait
│ ├── AsyncAwait.Tests
│ │ ├── AsyncAwait.Tests.csproj
│ │ └── FilesTests.cs
│ ├── AsyncAwait.sln
│ └── AsyncAwait
│ │ ├── AsyncAwait.csproj
│ │ └── Files.cs
├── CapturingOutput
│ ├── CapturingOutput.Tests
│ │ ├── CapturingOutput.Tests.csproj
│ │ └── UnitTest1.cs
│ └── CapturingOutput.sln
├── HelloXUnit
│ ├── HelloXUnit.Tests
│ │ ├── CalculatorTests.cs
│ │ └── HelloXUnit.Tests.csproj
│ ├── HelloXUnit.sln
│ └── HelloXUnit
│ │ ├── Calculator.cs
│ │ └── HelloXUnit.csproj
├── Parallel
│ ├── Parallel.Tests
│ │ ├── Parallel.Tests.csproj
│ │ └── UnitTest1.cs
│ └── Parallel.sln
├── SetupTearDown
│ ├── SetupTearDown.Tests
│ │ ├── FilesTests.cs
│ │ └── SetupTearDown.Tests.csproj
│ ├── SetupTearDown.sln
│ └── SetupTearDown
│ │ ├── Files.cs
│ │ └── SetupTearDown.csproj
├── SharedContext
│ ├── SharedContext.Tests
│ │ ├── Collections
│ │ │ └── HeavyCollection.cs
│ │ ├── Fixtures
│ │ │ ├── AsyncHeavyFixture.cs
│ │ │ └── HeavyFixture.cs
│ │ ├── SharedContext.Tests.csproj
│ │ ├── UnitTest1.cs
│ │ ├── UnitTest2.cs
│ │ └── UnitTest3.cs
│ └── SharedContext.sln
└── TheoryAndDataAttribute
│ ├── TheoryAndDataAttribute.Tests
│ ├── AddTestDataSets.cs
│ ├── CalculatorTests.cs
│ └── TheoryAndDataAttribute.Tests.csproj
│ ├── TheoryAndDataAttribute.sln
│ └── TheoryAndDataAttribute
│ ├── Calculator.cs
│ └── TheoryAndDataAttribute.csproj
├── Textbook
├── Assertion-CheatSheet.md
├── Async-Await.md
├── Capturing-Output.md
├── Getting-Started.md
├── How-to-run-the-test
│ ├── Visual-Studio-2019.md
│ ├── Visual-Studio-Code.md
│ ├── Visual-Studio-for-Mac.md
│ └── images
│ │ ├── vs-code-01.png
│ │ ├── vs-for-mac-01.png
│ │ ├── vs-for-mac-02.png
│ │ ├── vs2019-01.png
│ │ └── vs2019-02.png
├── Running-Tests-in-Parallel.md
├── Setup-TearDown.md
├── Shared-Context.md
└── Theory-And-DataAttribute.md
├── WorkSpace
├── AsyncAwait
│ ├── AsyncAwait.Tests
│ │ ├── AsyncAwait.Tests.csproj
│ │ └── FilesTests.cs
│ ├── AsyncAwait.sln
│ └── AsyncAwait
│ │ ├── AsyncAwait.csproj
│ │ └── Files.cs
├── CapturingOutput
│ ├── CapturingOutput.Tests
│ │ ├── CapturingOutput.Tests.csproj
│ │ └── UnitTest1.cs
│ └── CapturingOutput.sln
├── Parallel
│ ├── Parallel.Tests
│ │ ├── Parallel.Tests.csproj
│ │ └── UnitTest1.cs
│ └── Parallel.sln
├── SetupTearDown
│ ├── SetupTearDown.Tests
│ │ ├── FilesTests.cs
│ │ └── SetupTearDown.Tests.csproj
│ ├── SetupTearDown.sln
│ └── SetupTearDown
│ │ ├── Files.cs
│ │ └── SetupTearDown.csproj
├── SharedContext
│ ├── SharedContext.Tests
│ │ ├── Collections
│ │ │ └── HeavyCollection.cs
│ │ ├── Fixtures
│ │ │ ├── AsyncHeavyFixture.cs
│ │ │ └── HeavyFixture.cs
│ │ ├── SharedContext.Tests.csproj
│ │ ├── UnitTest1.cs
│ │ ├── UnitTest2.cs
│ │ └── UnitTest3.cs
│ └── SharedContext.sln
└── TheoryAndDataAttribute
│ ├── TheoryAndDataAttribute.Tests
│ ├── AddTestDataSets.cs
│ ├── CalculatorTests.cs
│ └── TheoryAndDataAttribute.Tests.csproj
│ ├── TheoryAndDataAttribute.sln
│ └── TheoryAndDataAttribute
│ ├── Calculator.cs
│ └── TheoryAndDataAttribute.csproj
└── docs
├── annotated.html
├── bc_s.png
├── bdwn.png
├── class_xunit_1_1_assembly_trait_attribute-members.html
├── class_xunit_1_1_assembly_trait_attribute.html
├── class_xunit_1_1_assembly_trait_attribute.png
├── class_xunit_1_1_assert-members.html
├── class_xunit_1_1_assert.html
├── class_xunit_1_1_assert_1_1_raised_event-members.html
├── class_xunit_1_1_assert_1_1_raised_event.html
├── class_xunit_1_1_class_data_attribute-members.html
├── class_xunit_1_1_class_data_attribute.html
├── class_xunit_1_1_class_data_attribute.png
├── class_xunit_1_1_collection_attribute-members.html
├── class_xunit_1_1_collection_attribute.html
├── class_xunit_1_1_collection_attribute.png
├── class_xunit_1_1_collection_behavior_attribute-members.html
├── class_xunit_1_1_collection_behavior_attribute.html
├── class_xunit_1_1_collection_behavior_attribute.png
├── class_xunit_1_1_collection_definition_attribute-members.html
├── class_xunit_1_1_collection_definition_attribute.html
├── class_xunit_1_1_collection_definition_attribute.png
├── class_xunit_1_1_extensions_1_1_property_data_attribute-members.html
├── class_xunit_1_1_extensions_1_1_property_data_attribute.html
├── class_xunit_1_1_extensions_1_1_property_data_attribute.png
├── class_xunit_1_1_fact_attribute-members.html
├── class_xunit_1_1_fact_attribute.html
├── class_xunit_1_1_fact_attribute.png
├── class_xunit_1_1_inline_data_attribute-members.html
├── class_xunit_1_1_inline_data_attribute.html
├── class_xunit_1_1_inline_data_attribute.png
├── class_xunit_1_1_member_data_attribute-members.html
├── class_xunit_1_1_member_data_attribute.html
├── class_xunit_1_1_member_data_attribute.png
├── class_xunit_1_1_member_data_attribute_base-members.html
├── class_xunit_1_1_member_data_attribute_base.html
├── class_xunit_1_1_member_data_attribute_base.png
├── class_xunit_1_1_record-members.html
├── class_xunit_1_1_record.html
├── class_xunit_1_1_sdk_1_1_all_exception-members.html
├── class_xunit_1_1_sdk_1_1_all_exception.html
├── class_xunit_1_1_sdk_1_1_all_exception.png
├── class_xunit_1_1_sdk_1_1_assembly_trait_discoverer-members.html
├── class_xunit_1_1_sdk_1_1_assembly_trait_discoverer.html
├── class_xunit_1_1_sdk_1_1_assembly_trait_discoverer.png
├── class_xunit_1_1_sdk_1_1_assert_actual_expected_exception-members.html
├── class_xunit_1_1_sdk_1_1_assert_actual_expected_exception.html
├── class_xunit_1_1_sdk_1_1_assert_actual_expected_exception.png
├── class_xunit_1_1_sdk_1_1_assert_collection_count_exception-members.html
├── class_xunit_1_1_sdk_1_1_assert_collection_count_exception.html
├── class_xunit_1_1_sdk_1_1_assert_collection_count_exception.png
├── class_xunit_1_1_sdk_1_1_assert_comparer-members.html
├── class_xunit_1_1_sdk_1_1_assert_comparer.html
├── class_xunit_1_1_sdk_1_1_assert_comparer.png
├── class_xunit_1_1_sdk_1_1_assert_equality_comparer-members.html
├── class_xunit_1_1_sdk_1_1_assert_equality_comparer.html
├── class_xunit_1_1_sdk_1_1_assert_equality_comparer.png
├── class_xunit_1_1_sdk_1_1_assert_equality_comparer_adapter-members.html
├── class_xunit_1_1_sdk_1_1_assert_equality_comparer_adapter.html
├── class_xunit_1_1_sdk_1_1_assert_equality_comparer_adapter.png
├── class_xunit_1_1_sdk_1_1_before_after_test_attribute-members.html
├── class_xunit_1_1_sdk_1_1_before_after_test_attribute.html
├── class_xunit_1_1_sdk_1_1_before_after_test_attribute.png
├── class_xunit_1_1_sdk_1_1_collection_exception-members.html
├── class_xunit_1_1_sdk_1_1_collection_exception.html
├── class_xunit_1_1_sdk_1_1_collection_exception.png
├── class_xunit_1_1_sdk_1_1_contains_exception-members.html
├── class_xunit_1_1_sdk_1_1_contains_exception.html
├── class_xunit_1_1_sdk_1_1_contains_exception.png
├── class_xunit_1_1_sdk_1_1_data_attribute-members.html
├── class_xunit_1_1_sdk_1_1_data_attribute.html
├── class_xunit_1_1_sdk_1_1_data_attribute.png
├── class_xunit_1_1_sdk_1_1_data_discoverer-members.html
├── class_xunit_1_1_sdk_1_1_data_discoverer.html
├── class_xunit_1_1_sdk_1_1_data_discoverer.png
├── class_xunit_1_1_sdk_1_1_data_discoverer_attribute-members.html
├── class_xunit_1_1_sdk_1_1_data_discoverer_attribute.html
├── class_xunit_1_1_sdk_1_1_data_discoverer_attribute.png
├── class_xunit_1_1_sdk_1_1_does_not_contain_exception-members.html
├── class_xunit_1_1_sdk_1_1_does_not_contain_exception.html
├── class_xunit_1_1_sdk_1_1_does_not_contain_exception.png
├── class_xunit_1_1_sdk_1_1_does_not_match_exception-members.html
├── class_xunit_1_1_sdk_1_1_does_not_match_exception.html
├── class_xunit_1_1_sdk_1_1_does_not_match_exception.png
├── class_xunit_1_1_sdk_1_1_empty_exception-members.html
├── class_xunit_1_1_sdk_1_1_empty_exception.html
├── class_xunit_1_1_sdk_1_1_empty_exception.png
├── class_xunit_1_1_sdk_1_1_ends_with_exception-members.html
├── class_xunit_1_1_sdk_1_1_ends_with_exception.html
├── class_xunit_1_1_sdk_1_1_ends_with_exception.png
├── class_xunit_1_1_sdk_1_1_equal_exception-members.html
├── class_xunit_1_1_sdk_1_1_equal_exception.html
├── class_xunit_1_1_sdk_1_1_equal_exception.png
├── class_xunit_1_1_sdk_1_1_exception_aggregator-members.html
├── class_xunit_1_1_sdk_1_1_exception_aggregator.html
├── class_xunit_1_1_sdk_1_1_false_exception-members.html
├── class_xunit_1_1_sdk_1_1_false_exception.html
├── class_xunit_1_1_sdk_1_1_false_exception.png
├── class_xunit_1_1_sdk_1_1_in_range_exception-members.html
├── class_xunit_1_1_sdk_1_1_in_range_exception.html
├── class_xunit_1_1_sdk_1_1_in_range_exception.png
├── class_xunit_1_1_sdk_1_1_inline_data_discoverer-members.html
├── class_xunit_1_1_sdk_1_1_inline_data_discoverer.html
├── class_xunit_1_1_sdk_1_1_inline_data_discoverer.png
├── class_xunit_1_1_sdk_1_1_is_assignable_from_exception-members.html
├── class_xunit_1_1_sdk_1_1_is_assignable_from_exception.html
├── class_xunit_1_1_sdk_1_1_is_assignable_from_exception.png
├── class_xunit_1_1_sdk_1_1_is_not_type_exception-members.html
├── class_xunit_1_1_sdk_1_1_is_not_type_exception.html
├── class_xunit_1_1_sdk_1_1_is_not_type_exception.png
├── class_xunit_1_1_sdk_1_1_is_type_exception-members.html
├── class_xunit_1_1_sdk_1_1_is_type_exception.html
├── class_xunit_1_1_sdk_1_1_is_type_exception.png
├── class_xunit_1_1_sdk_1_1_matches_exception-members.html
├── class_xunit_1_1_sdk_1_1_matches_exception.html
├── class_xunit_1_1_sdk_1_1_matches_exception.png
├── class_xunit_1_1_sdk_1_1_member_data_discoverer-members.html
├── class_xunit_1_1_sdk_1_1_member_data_discoverer.html
├── class_xunit_1_1_sdk_1_1_member_data_discoverer.png
├── class_xunit_1_1_sdk_1_1_not_empty_exception-members.html
├── class_xunit_1_1_sdk_1_1_not_empty_exception.html
├── class_xunit_1_1_sdk_1_1_not_empty_exception.png
├── class_xunit_1_1_sdk_1_1_not_equal_exception-members.html
├── class_xunit_1_1_sdk_1_1_not_equal_exception.html
├── class_xunit_1_1_sdk_1_1_not_equal_exception.png
├── class_xunit_1_1_sdk_1_1_not_in_range_exception-members.html
├── class_xunit_1_1_sdk_1_1_not_in_range_exception.html
├── class_xunit_1_1_sdk_1_1_not_in_range_exception.png
├── class_xunit_1_1_sdk_1_1_not_null_exception-members.html
├── class_xunit_1_1_sdk_1_1_not_null_exception.html
├── class_xunit_1_1_sdk_1_1_not_null_exception.png
├── class_xunit_1_1_sdk_1_1_not_same_exception-members.html
├── class_xunit_1_1_sdk_1_1_not_same_exception.html
├── class_xunit_1_1_sdk_1_1_not_same_exception.png
├── class_xunit_1_1_sdk_1_1_null_exception-members.html
├── class_xunit_1_1_sdk_1_1_null_exception.html
├── class_xunit_1_1_sdk_1_1_null_exception.png
├── class_xunit_1_1_sdk_1_1_parameter_count_mismatch_exception.html
├── class_xunit_1_1_sdk_1_1_parameter_count_mismatch_exception.png
├── class_xunit_1_1_sdk_1_1_platform_specific_assembly_attribute.html
├── class_xunit_1_1_sdk_1_1_platform_specific_assembly_attribute.png
├── class_xunit_1_1_sdk_1_1_proper_subset_exception-members.html
├── class_xunit_1_1_sdk_1_1_proper_subset_exception.html
├── class_xunit_1_1_sdk_1_1_proper_subset_exception.png
├── class_xunit_1_1_sdk_1_1_proper_superset_exception-members.html
├── class_xunit_1_1_sdk_1_1_proper_superset_exception.html
├── class_xunit_1_1_sdk_1_1_proper_superset_exception.png
├── class_xunit_1_1_sdk_1_1_property_changed_exception-members.html
├── class_xunit_1_1_sdk_1_1_property_changed_exception.html
├── class_xunit_1_1_sdk_1_1_property_changed_exception.png
├── class_xunit_1_1_sdk_1_1_raises_exception-members.html
├── class_xunit_1_1_sdk_1_1_raises_exception.html
├── class_xunit_1_1_sdk_1_1_raises_exception.png
├── class_xunit_1_1_sdk_1_1_run_summary-members.html
├── class_xunit_1_1_sdk_1_1_run_summary.html
├── class_xunit_1_1_sdk_1_1_same_exception-members.html
├── class_xunit_1_1_sdk_1_1_same_exception.html
├── class_xunit_1_1_sdk_1_1_same_exception.png
├── class_xunit_1_1_sdk_1_1_single_exception-members.html
├── class_xunit_1_1_sdk_1_1_single_exception.html
├── class_xunit_1_1_sdk_1_1_single_exception.png
├── class_xunit_1_1_sdk_1_1_starts_with_exception-members.html
├── class_xunit_1_1_sdk_1_1_starts_with_exception.html
├── class_xunit_1_1_sdk_1_1_starts_with_exception.png
├── class_xunit_1_1_sdk_1_1_subset_exception-members.html
├── class_xunit_1_1_sdk_1_1_subset_exception.html
├── class_xunit_1_1_sdk_1_1_subset_exception.png
├── class_xunit_1_1_sdk_1_1_superset_exception-members.html
├── class_xunit_1_1_sdk_1_1_superset_exception.html
├── class_xunit_1_1_sdk_1_1_superset_exception.png
├── class_xunit_1_1_sdk_1_1_test_framework_discoverer_attribute-members.html
├── class_xunit_1_1_sdk_1_1_test_framework_discoverer_attribute.html
├── class_xunit_1_1_sdk_1_1_test_framework_discoverer_attribute.png
├── class_xunit_1_1_sdk_1_1_throws_exception-members.html
├── class_xunit_1_1_sdk_1_1_throws_exception.html
├── class_xunit_1_1_sdk_1_1_throws_exception.png
├── class_xunit_1_1_sdk_1_1_trait_discoverer-members.html
├── class_xunit_1_1_sdk_1_1_trait_discoverer.html
├── class_xunit_1_1_sdk_1_1_trait_discoverer.png
├── class_xunit_1_1_sdk_1_1_trait_discoverer_attribute-members.html
├── class_xunit_1_1_sdk_1_1_trait_discoverer_attribute.html
├── class_xunit_1_1_sdk_1_1_trait_discoverer_attribute.png
├── class_xunit_1_1_sdk_1_1_true_exception-members.html
├── class_xunit_1_1_sdk_1_1_true_exception.html
├── class_xunit_1_1_sdk_1_1_true_exception.png
├── class_xunit_1_1_sdk_1_1_xunit_exception-members.html
├── class_xunit_1_1_sdk_1_1_xunit_exception.html
├── class_xunit_1_1_sdk_1_1_xunit_exception.png
├── class_xunit_1_1_sdk_1_1_xunit_test_case_discoverer_attribute-members.html
├── class_xunit_1_1_sdk_1_1_xunit_test_case_discoverer_attribute.html
├── class_xunit_1_1_sdk_1_1_xunit_test_case_discoverer_attribute.png
├── class_xunit_1_1_test_case_orderer_attribute-members.html
├── class_xunit_1_1_test_case_orderer_attribute.html
├── class_xunit_1_1_test_case_orderer_attribute.png
├── class_xunit_1_1_test_collection_orderer_attribute-members.html
├── class_xunit_1_1_test_collection_orderer_attribute.html
├── class_xunit_1_1_test_collection_orderer_attribute.png
├── class_xunit_1_1_test_framework_attribute-members.html
├── class_xunit_1_1_test_framework_attribute.html
├── class_xunit_1_1_test_framework_attribute.png
├── class_xunit_1_1_theory_attribute-members.html
├── class_xunit_1_1_theory_attribute.html
├── class_xunit_1_1_theory_attribute.png
├── class_xunit_1_1_theory_data.html
├── class_xunit_1_1_theory_data.png
├── class_xunit_1_1_trait_attribute-members.html
├── class_xunit_1_1_trait_attribute.html
├── class_xunit_1_1_trait_attribute.png
├── classes.html
├── closed.png
├── dir_0f41d4e231d3f1cb3672cacd5b40c639.html
├── dir_1386b81f13a817eeb9154109966430ce.html
├── dir_15fa8b5cabf1bfc95aa7b51a19ecec93.html
├── dir_2e65abecaa2fe770c32a8956ae2bf0f0.html
├── dir_377b1899b05d141ddd328eea813eccce.html
├── dir_3a109037a023797184780d9c8d11cf60.html
├── dir_48a12c3398cc26c68df46cd1471c6196.html
├── dir_4d5ad1ab972d20d3e6491839c5ef49b1.html
├── dir_54c4ca8e74824151d40b8b36c41d988c.html
├── dir_772008f2038261e79751298c28aa8703.html
├── dir_96efb0f513386f890d1b060841f9195d.html
├── dir_ba2b07454f997d362169461ede3814e3.html
├── dir_bcb798cc84ec73d9b52f581a711465f0.html
├── dir_f16e9cdbaf0d3a70bc2679169526da6b.html
├── dir_f2e1992c45f1185a611a4df71d6cdebb.html
├── dir_f91c62084aa6818fa010785d9654923d.html
├── dir_faa64453d42f91c13fb5aeeb11345c2a.html
├── doc.png
├── doxygen.css
├── doxygen.png
├── dynsections.js
├── folderclosed.png
├── folderopen.png
├── functions.html
├── functions_b.html
├── functions_c.html
├── functions_d.html
├── functions_e.html
├── functions_f.html
├── functions_func.html
├── functions_func_b.html
├── functions_func_c.html
├── functions_func_d.html
├── functions_func_e.html
├── functions_func_f.html
├── functions_func_g.html
├── functions_func_i.html
├── functions_func_m.html
├── functions_func_n.html
├── functions_func_o.html
├── functions_func_p.html
├── functions_func_q.html
├── functions_func_r.html
├── functions_func_s.html
├── functions_func_t.html
├── functions_func_x.html
├── functions_g.html
├── functions_h.html
├── functions_i.html
├── functions_l.html
├── functions_m.html
├── functions_n.html
├── functions_o.html
├── functions_p.html
├── functions_prop.html
├── functions_q.html
├── functions_r.html
├── functions_s.html
├── functions_t.html
├── functions_u.html
├── functions_vars.html
├── functions_x.html
├── hierarchy.html
├── index.html
├── interface_xunit_1_1_i_async_lifetime-members.html
├── interface_xunit_1_1_i_async_lifetime.html
├── interface_xunit_1_1_i_class_fixture.html
├── interface_xunit_1_1_i_collection_fixture.html
├── interface_xunit_1_1_i_test_collection_orderer-members.html
├── interface_xunit_1_1_i_test_collection_orderer.html
├── interface_xunit_1_1_sdk_1_1_i_data_discoverer-members.html
├── interface_xunit_1_1_sdk_1_1_i_data_discoverer.html
├── interface_xunit_1_1_sdk_1_1_i_data_discoverer.png
├── interface_xunit_1_1_sdk_1_1_i_message_bus-members.html
├── interface_xunit_1_1_sdk_1_1_i_message_bus.html
├── interface_xunit_1_1_sdk_1_1_i_message_bus.png
├── interface_xunit_1_1_sdk_1_1_i_test_case_orderer-members.html
├── interface_xunit_1_1_sdk_1_1_i_test_case_orderer.html
├── interface_xunit_1_1_sdk_1_1_i_test_framework_attribute.html
├── interface_xunit_1_1_sdk_1_1_i_test_framework_attribute.png
├── interface_xunit_1_1_sdk_1_1_i_test_framework_type_discoverer-members.html
├── interface_xunit_1_1_sdk_1_1_i_test_framework_type_discoverer.html
├── interface_xunit_1_1_sdk_1_1_i_trait_attribute.html
├── interface_xunit_1_1_sdk_1_1_i_trait_attribute.png
├── interface_xunit_1_1_sdk_1_1_i_trait_discoverer-members.html
├── interface_xunit_1_1_sdk_1_1_i_trait_discoverer.html
├── interface_xunit_1_1_sdk_1_1_i_trait_discoverer.png
├── interface_xunit_1_1_sdk_1_1_i_xunit_test_case-members.html
├── interface_xunit_1_1_sdk_1_1_i_xunit_test_case.html
├── interface_xunit_1_1_sdk_1_1_i_xunit_test_case.png
├── interface_xunit_1_1_sdk_1_1_i_xunit_test_case_discoverer-members.html
├── interface_xunit_1_1_sdk_1_1_i_xunit_test_case_discoverer.html
├── interface_xunit_1_1_sdk_1_1_i_xunit_test_collection_factory-members.html
├── interface_xunit_1_1_sdk_1_1_i_xunit_test_collection_factory.html
├── jquery.js
├── md_xunit_src_xunit_8assert__asserts__c_o_n_t_r_i_b_u_t_i_n_g.html
├── md_xunit_src_xunit_8assert__asserts__r_e_a_d_m_e.html
├── menu.js
├── menudata.js
├── namespace_xunit.html
├── namespace_xunit_1_1_extensions.html
├── namespace_xunit_1_1_sdk.html
├── namespacemembers.html
├── namespacemembers_enum.html
├── namespaces.html
├── nav_f.png
├── nav_g.png
├── nav_h.png
├── open.png
├── pages.html
├── search
├── all_0.html
├── all_0.js
├── all_1.html
├── all_1.js
├── all_10.html
├── all_10.js
├── all_11.html
├── all_11.js
├── all_12.html
├── all_12.js
├── all_13.html
├── all_13.js
├── all_2.html
├── all_2.js
├── all_3.html
├── all_3.js
├── all_4.html
├── all_4.js
├── all_5.html
├── all_5.js
├── all_6.html
├── all_6.js
├── all_7.html
├── all_7.js
├── all_8.html
├── all_8.js
├── all_9.html
├── all_9.js
├── all_a.html
├── all_a.js
├── all_b.html
├── all_b.js
├── all_c.html
├── all_c.js
├── all_d.html
├── all_d.js
├── all_e.html
├── all_e.js
├── all_f.html
├── all_f.js
├── classes_0.html
├── classes_0.js
├── classes_1.html
├── classes_1.js
├── classes_2.html
├── classes_2.js
├── classes_3.html
├── classes_3.js
├── classes_4.html
├── classes_4.js
├── classes_5.html
├── classes_5.js
├── classes_6.html
├── classes_6.js
├── classes_7.html
├── classes_7.js
├── classes_8.html
├── classes_8.js
├── classes_9.html
├── classes_9.js
├── classes_a.html
├── classes_a.js
├── classes_b.html
├── classes_b.js
├── classes_c.html
├── classes_c.js
├── classes_d.html
├── classes_d.js
├── close.png
├── enums_0.html
├── enums_0.js
├── enumvalues_0.html
├── enumvalues_0.js
├── functions_0.html
├── functions_0.js
├── functions_1.html
├── functions_1.js
├── functions_10.html
├── functions_10.js
├── functions_2.html
├── functions_2.js
├── functions_3.html
├── functions_3.js
├── functions_4.html
├── functions_4.js
├── functions_5.html
├── functions_5.js
├── functions_6.html
├── functions_6.js
├── functions_7.html
├── functions_7.js
├── functions_8.html
├── functions_8.js
├── functions_9.html
├── functions_9.js
├── functions_a.html
├── functions_a.js
├── functions_b.html
├── functions_b.js
├── functions_c.html
├── functions_c.js
├── functions_d.html
├── functions_d.js
├── functions_e.html
├── functions_e.js
├── functions_f.html
├── functions_f.js
├── mag_sel.png
├── namespaces_0.html
├── namespaces_0.js
├── nomatches.html
├── pages_0.html
├── pages_0.js
├── pages_1.html
├── pages_1.js
├── properties_0.html
├── properties_0.js
├── properties_1.html
├── properties_1.js
├── properties_2.html
├── properties_2.js
├── properties_3.html
├── properties_3.js
├── properties_4.html
├── properties_4.js
├── properties_5.html
├── properties_5.js
├── properties_6.html
├── properties_6.js
├── properties_7.html
├── properties_7.js
├── properties_8.html
├── properties_8.js
├── properties_9.html
├── properties_9.js
├── properties_a.html
├── properties_a.js
├── properties_b.html
├── properties_b.js
├── properties_c.html
├── properties_c.js
├── search.css
├── search.js
├── search_l.png
├── search_m.png
├── search_r.png
├── searchdata.js
├── variables_0.html
├── variables_0.js
├── variables_1.html
├── variables_1.js
├── variables_2.html
└── variables_2.js
├── splitbar.png
├── sync_off.png
├── sync_on.png
├── tab_a.png
├── tab_b.png
├── tab_h.png
├── tab_s.png
└── tabs.css
/.gitmodules:
--------------------------------------------------------------------------------
1 | [submodule "xunit"]
2 | path = xunit
3 | url = https://github.com/xunit/xunit
4 |
--------------------------------------------------------------------------------
/Samples/AsyncAwait/AsyncAwait.Tests/AsyncAwait.Tests.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netcoreapp3.1
5 |
6 | false
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/Samples/AsyncAwait/AsyncAwait.Tests/FilesTests.cs:
--------------------------------------------------------------------------------
1 | using System.IO;
2 | using System.Threading.Tasks;
3 | using Xunit;
4 |
5 | namespace AsyncAwait.Tests
6 | {
7 | public class FilesTests
8 | {
9 | private const string ExistFileName = "test.txt";
10 | private const string TextFileContent = "Hello, xUnit.net!";
11 | private const string NotExistFileName = "NotExistFile";
12 |
13 | public FilesTests()
14 | {
15 | if (File.Exists(ExistFileName))
16 | File.Delete(ExistFileName);
17 |
18 | File.WriteAllText(ExistFileName, TextFileContent);
19 | }
20 |
21 |
22 | [Fact]
23 | public async Task ReadAllTextAsyncWhenExistFile()
24 | {
25 | Assert.Equal(TextFileContent, await Files.ReadAllTextAsync(ExistFileName));
26 | }
27 |
28 | [Fact]
29 | public async Task ReadAllTextAsyncWhenNotExistFile()
30 | {
31 | await Assert.ThrowsAsync(
32 | () => Files.ReadAllTextAsync(NotExistFileName));
33 | }
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/Samples/AsyncAwait/AsyncAwait/AsyncAwait.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netstandard2.0
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Samples/AsyncAwait/AsyncAwait/Files.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.IO;
3 | using System.Threading.Tasks;
4 |
5 | namespace AsyncAwait
6 | {
7 | public static class Files
8 | {
9 | public static async Task ReadAllTextAsync(string file)
10 | {
11 | using (var reader = new StreamReader(File.OpenRead(file)))
12 | {
13 | return await reader.ReadToEndAsync();
14 | }
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/Samples/CapturingOutput/CapturingOutput.Tests/CapturingOutput.Tests.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netcoreapp3.1
5 |
6 | false
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/Samples/CapturingOutput/CapturingOutput.Tests/UnitTest1.cs:
--------------------------------------------------------------------------------
1 | using Xunit;
2 | using Xunit.Abstractions;
3 |
4 | namespace CapturingOutput.Tests
5 | {
6 | public class UnitTest1
7 | {
8 | private readonly ITestOutputHelper _output;
9 |
10 | public UnitTest1(ITestOutputHelper output)
11 | {
12 | _output = output;
13 | _output.WriteLine("This is output from {0}", "Constructor");
14 | }
15 |
16 | [Fact]
17 | public void Test1()
18 | {
19 | _output.WriteLine("This is output from {0}", "Test1");
20 | }
21 | }
22 | }
--------------------------------------------------------------------------------
/Samples/CapturingOutput/CapturingOutput.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | VisualStudioVersion = 15.0.26124.0
5 | MinimumVisualStudioVersion = 15.0.26124.0
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CapturingOutput.Tests", "CapturingOutput.Tests\CapturingOutput.Tests.csproj", "{47CBD0F4-7F2A-4BEA-B91D-5C833B2BBCA6}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Debug|x64 = Debug|x64
12 | Debug|x86 = Debug|x86
13 | Release|Any CPU = Release|Any CPU
14 | Release|x64 = Release|x64
15 | Release|x86 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
21 | {47CBD0F4-7F2A-4BEA-B91D-5C833B2BBCA6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
22 | {47CBD0F4-7F2A-4BEA-B91D-5C833B2BBCA6}.Debug|Any CPU.Build.0 = Debug|Any CPU
23 | {47CBD0F4-7F2A-4BEA-B91D-5C833B2BBCA6}.Debug|x64.ActiveCfg = Debug|Any CPU
24 | {47CBD0F4-7F2A-4BEA-B91D-5C833B2BBCA6}.Debug|x64.Build.0 = Debug|Any CPU
25 | {47CBD0F4-7F2A-4BEA-B91D-5C833B2BBCA6}.Debug|x86.ActiveCfg = Debug|Any CPU
26 | {47CBD0F4-7F2A-4BEA-B91D-5C833B2BBCA6}.Debug|x86.Build.0 = Debug|Any CPU
27 | {47CBD0F4-7F2A-4BEA-B91D-5C833B2BBCA6}.Release|Any CPU.ActiveCfg = Release|Any CPU
28 | {47CBD0F4-7F2A-4BEA-B91D-5C833B2BBCA6}.Release|Any CPU.Build.0 = Release|Any CPU
29 | {47CBD0F4-7F2A-4BEA-B91D-5C833B2BBCA6}.Release|x64.ActiveCfg = Release|Any CPU
30 | {47CBD0F4-7F2A-4BEA-B91D-5C833B2BBCA6}.Release|x64.Build.0 = Release|Any CPU
31 | {47CBD0F4-7F2A-4BEA-B91D-5C833B2BBCA6}.Release|x86.ActiveCfg = Release|Any CPU
32 | {47CBD0F4-7F2A-4BEA-B91D-5C833B2BBCA6}.Release|x86.Build.0 = Release|Any CPU
33 | EndGlobalSection
34 | EndGlobal
35 |
--------------------------------------------------------------------------------
/Samples/HelloXUnit/HelloXUnit.Tests/CalculatorTests.cs:
--------------------------------------------------------------------------------
1 | using Xunit;
2 |
3 | namespace HelloXUnit.Tests
4 | {
5 | public class CalculatorTests
6 | {
7 | [Fact]
8 | public void AddTest()
9 | {
10 | Assert.Equal(4, Calculator.Add(2, 2));
11 | }
12 |
13 | [Fact]
14 | public void SubtractTest()
15 | {
16 | Assert.Equal(1, Calculator.Subtract(3, 2));
17 | }
18 |
19 | [Theory]
20 | [InlineData(3)]
21 | [InlineData(5)]
22 | public void IsOddWhenTrue(int value)
23 | {
24 | Assert.True(Calculator.IsOdd(value));
25 | }
26 |
27 | [Theory]
28 | [InlineData(2)]
29 | [InlineData(4)]
30 | public void IsOddWhenFalse(int value)
31 | {
32 | Assert.False(Calculator.IsOdd(value));
33 | }
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/Samples/HelloXUnit/HelloXUnit.Tests/HelloXUnit.Tests.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netcoreapp3.1
5 |
6 | false
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/Samples/HelloXUnit/HelloXUnit/Calculator.cs:
--------------------------------------------------------------------------------
1 | namespace HelloXUnit
2 | {
3 | public static class Calculator
4 | {
5 | public static int Add(int x, int y) => x + y;
6 | public static int Subtract(int x, int y) => x - y;
7 | public static bool IsOdd(int value) => value % 2 == 1;
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/Samples/HelloXUnit/HelloXUnit/HelloXUnit.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netstandard2.0
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Samples/Parallel/Parallel.Tests/Parallel.Tests.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netcoreapp3.1
5 |
6 | false
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/Samples/Parallel/Parallel.Tests/UnitTest1.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Threading;
3 | using Xunit;
4 |
5 | namespace Parallel.Tests
6 | {
7 | //public class UnitTest1
8 | //{
9 | // [Fact]
10 | // public void Test1()
11 | // {
12 | // Thread.Sleep(3000);
13 | // }
14 |
15 | // [Fact]
16 | // public void Test2()
17 | // {
18 | // Thread.Sleep(5000);
19 | // }
20 | //}
21 |
22 | //public class UnitTest1
23 | //{
24 | // [Fact]
25 | // public void Test1()
26 | // {
27 | // Thread.Sleep(3000);
28 | // }
29 | //}
30 |
31 | //public class UnitTest2
32 | //{
33 | // [Fact]
34 | // public void Test2()
35 | // {
36 | // Thread.Sleep(5000);
37 | // }
38 | //}
39 |
40 | [Collection("Our Test Collection #1")]
41 | public class UnitTest1
42 | {
43 | [Fact]
44 | public void Test1()
45 | {
46 | Thread.Sleep(3000);
47 | }
48 | }
49 |
50 | [Collection("Our Test Collection #1")]
51 | public class UnitTest2
52 | {
53 | [Fact]
54 | public void Test2()
55 | {
56 | Thread.Sleep(5000);
57 | }
58 | }
59 | }
60 |
--------------------------------------------------------------------------------
/Samples/Parallel/Parallel.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.29613.14
5 | MinimumVisualStudioVersion = 15.0.26124.0
6 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Parallel.Tests", "Parallel.Tests\Parallel.Tests.csproj", "{FA2DE5D8-534A-4AE4-9645-FD53AA85D2D9}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Debug|x64 = Debug|x64
12 | Debug|x86 = Debug|x86
13 | Release|Any CPU = Release|Any CPU
14 | Release|x64 = Release|x64
15 | Release|x86 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
18 | {FA2DE5D8-534A-4AE4-9645-FD53AA85D2D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
19 | {FA2DE5D8-534A-4AE4-9645-FD53AA85D2D9}.Debug|Any CPU.Build.0 = Debug|Any CPU
20 | {FA2DE5D8-534A-4AE4-9645-FD53AA85D2D9}.Debug|x64.ActiveCfg = Debug|Any CPU
21 | {FA2DE5D8-534A-4AE4-9645-FD53AA85D2D9}.Debug|x64.Build.0 = Debug|Any CPU
22 | {FA2DE5D8-534A-4AE4-9645-FD53AA85D2D9}.Debug|x86.ActiveCfg = Debug|Any CPU
23 | {FA2DE5D8-534A-4AE4-9645-FD53AA85D2D9}.Debug|x86.Build.0 = Debug|Any CPU
24 | {FA2DE5D8-534A-4AE4-9645-FD53AA85D2D9}.Release|Any CPU.ActiveCfg = Release|Any CPU
25 | {FA2DE5D8-534A-4AE4-9645-FD53AA85D2D9}.Release|Any CPU.Build.0 = Release|Any CPU
26 | {FA2DE5D8-534A-4AE4-9645-FD53AA85D2D9}.Release|x64.ActiveCfg = Release|Any CPU
27 | {FA2DE5D8-534A-4AE4-9645-FD53AA85D2D9}.Release|x64.Build.0 = Release|Any CPU
28 | {FA2DE5D8-534A-4AE4-9645-FD53AA85D2D9}.Release|x86.ActiveCfg = Release|Any CPU
29 | {FA2DE5D8-534A-4AE4-9645-FD53AA85D2D9}.Release|x86.Build.0 = Release|Any CPU
30 | EndGlobalSection
31 | GlobalSection(SolutionProperties) = preSolution
32 | HideSolutionNode = FALSE
33 | EndGlobalSection
34 | GlobalSection(ExtensibilityGlobals) = postSolution
35 | SolutionGuid = {7EDC1722-89D4-4628-9D75-FECE3EEF15F5}
36 | EndGlobalSection
37 | EndGlobal
38 |
--------------------------------------------------------------------------------
/Samples/SetupTearDown/SetupTearDown.Tests/FilesTests.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.IO;
3 | using Xunit;
4 |
5 | namespace SetupTearDown.Tests
6 | {
7 | public class FilesTests : IDisposable
8 | {
9 | private const string ExistFileName = "test.txt";
10 | private const string TextFileContent = "Hello, xUnit.net!";
11 | private const string NotExistFileName = "NotExistFile";
12 |
13 | public FilesTests()
14 | {
15 | if (File.Exists(ExistFileName))
16 | File.Delete(ExistFileName);
17 |
18 | File.WriteAllText(ExistFileName, TextFileContent);
19 | }
20 |
21 | [Fact]
22 | public void DeleteIfExistWhenExistFile()
23 | {
24 | Assert.True(Files.DeleteIfExist(ExistFileName));
25 | Assert.False(File.Exists(ExistFileName));
26 | }
27 |
28 | [Fact]
29 | public void DeleteIfExistWhenNotExistFile()
30 | {
31 | Assert.False(Files.DeleteIfExist("NotExistFile"));
32 | }
33 |
34 | public void Dispose()
35 | {
36 | if (File.Exists(ExistFileName))
37 | File.Delete(ExistFileName);
38 | }
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/Samples/SetupTearDown/SetupTearDown.Tests/SetupTearDown.Tests.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netcoreapp3.1
5 |
6 | false
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/Samples/SetupTearDown/SetupTearDown.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.29613.14
5 | MinimumVisualStudioVersion = 15.0.26124.0
6 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SetupTearDown", "SetupTearDown\SetupTearDown.csproj", "{1732479C-2A57-4CC9-A8BD-76A2B1EB4959}"
7 | EndProject
8 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SetupTearDown.Tests", "SetupTearDown.Tests\SetupTearDown.Tests.csproj", "{10C90FF9-0E9B-4B6A-A028-1C9DE6BE7C5A}"
9 | EndProject
10 | Global
11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
12 | Debug|Any CPU = Debug|Any CPU
13 | Release|Any CPU = Release|Any CPU
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {1732479C-2A57-4CC9-A8BD-76A2B1EB4959}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17 | {1732479C-2A57-4CC9-A8BD-76A2B1EB4959}.Debug|Any CPU.Build.0 = Debug|Any CPU
18 | {1732479C-2A57-4CC9-A8BD-76A2B1EB4959}.Release|Any CPU.ActiveCfg = Release|Any CPU
19 | {1732479C-2A57-4CC9-A8BD-76A2B1EB4959}.Release|Any CPU.Build.0 = Release|Any CPU
20 | {10C90FF9-0E9B-4B6A-A028-1C9DE6BE7C5A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21 | {10C90FF9-0E9B-4B6A-A028-1C9DE6BE7C5A}.Debug|Any CPU.Build.0 = Debug|Any CPU
22 | {10C90FF9-0E9B-4B6A-A028-1C9DE6BE7C5A}.Release|Any CPU.ActiveCfg = Release|Any CPU
23 | {10C90FF9-0E9B-4B6A-A028-1C9DE6BE7C5A}.Release|Any CPU.Build.0 = Release|Any CPU
24 | EndGlobalSection
25 | GlobalSection(SolutionProperties) = preSolution
26 | HideSolutionNode = FALSE
27 | EndGlobalSection
28 | GlobalSection(ExtensibilityGlobals) = postSolution
29 | SolutionGuid = {53339206-6E9E-4E08-96BC-783B750E9C57}
30 | EndGlobalSection
31 | EndGlobal
32 |
--------------------------------------------------------------------------------
/Samples/SetupTearDown/SetupTearDown/Files.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.IO;
3 |
4 | namespace SetupTearDown
5 | {
6 | public static class Files
7 | {
8 | public static bool DeleteIfExist(string file)
9 | {
10 | if (!File.Exists(file))
11 | {
12 | return false;
13 | }
14 |
15 | File.Delete(file);
16 | return true;
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Samples/SetupTearDown/SetupTearDown/SetupTearDown.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netstandard2.0
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Samples/SharedContext/SharedContext.Tests/Collections/HeavyCollection.cs:
--------------------------------------------------------------------------------
1 | using SharedContext.Tests.Fixtures;
2 | using Xunit;
3 |
4 | namespace SharedContext.Tests.Collections
5 | {
6 | [CollectionDefinition("Heavy collection")]
7 | public class HeavyCollection : ICollectionFixture
8 | {
9 | // CollectionDefinitionを付与したクラスのみ作成すればよい
10 | // 特別な実装は不要
11 | }
12 | }
--------------------------------------------------------------------------------
/Samples/SharedContext/SharedContext.Tests/Fixtures/AsyncHeavyFixture.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Threading.Tasks;
3 | using Xunit;
4 |
5 | namespace SharedContext.Tests.Fixtures
6 | {
7 | public class AsyncHeavyFixture : IAsyncLifetime
8 | {
9 | public Task InitializeAsync() => Task.Delay(TimeSpan.FromSeconds(2));
10 |
11 | public void Use()
12 | {
13 | }
14 |
15 | public Task DisposeAsync() => Task.Delay(TimeSpan.FromSeconds(2));
16 | }
17 | }
--------------------------------------------------------------------------------
/Samples/SharedContext/SharedContext.Tests/Fixtures/HeavyFixture.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Threading;
3 |
4 | namespace SharedContext.Tests.Fixtures
5 | {
6 | public class HeavyFixture : IDisposable
7 | {
8 | public HeavyFixture() => Thread.Sleep(TimeSpan.FromSeconds(2));
9 |
10 | public void Use()
11 | {
12 | }
13 |
14 | public void Dispose() => Thread.Sleep(TimeSpan.FromSeconds(2));
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Samples/SharedContext/SharedContext.Tests/SharedContext.Tests.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netcoreapp3.1
5 |
6 | false
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/Samples/SharedContext/SharedContext.Tests/UnitTest1.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using SharedContext.Tests.Fixtures;
3 | using Xunit;
4 |
5 | namespace SharedContext.Tests
6 | {
7 | [Collection("Heavy collection")]
8 | public class UnitTest1 : IDisposable
9 | {
10 | private readonly HeavyFixture _heavyFixture;
11 |
12 | public UnitTest1(HeavyFixture heavyFixture)
13 | {
14 | _heavyFixture = heavyFixture;
15 | }
16 |
17 | [Fact]
18 | public void Test1() => _heavyFixture.Use();
19 |
20 | [Fact]
21 | public void Test2() => _heavyFixture.Use();
22 |
23 | public void Dispose()
24 | {
25 | //_heavyFixture.Dispose();
26 | }
27 | }
28 |
29 |
30 | }
--------------------------------------------------------------------------------
/Samples/SharedContext/SharedContext.Tests/UnitTest2.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using SharedContext.Tests.Fixtures;
3 | using Xunit;
4 |
5 | namespace SharedContext.Tests
6 | {
7 | [Collection("Heavy collection")]
8 | public class UnitTest2 : IDisposable
9 | {
10 | private readonly HeavyFixture _heavyFixture;
11 |
12 | public UnitTest2(HeavyFixture heavyFixture)
13 | {
14 | _heavyFixture = heavyFixture;
15 | }
16 |
17 | [Fact]
18 | public void Test() => _heavyFixture.Use();
19 |
20 | public void Dispose()
21 | {
22 | //_heavyFixture.Dispose();
23 | }
24 | }
25 | }
--------------------------------------------------------------------------------
/Samples/SharedContext/SharedContext.Tests/UnitTest3.cs:
--------------------------------------------------------------------------------
1 | using SharedContext.Tests.Fixtures;
2 | using Xunit;
3 |
4 | namespace SharedContext.Tests
5 | {
6 | public class UnitTest3 : IClassFixture
7 | {
8 | private readonly AsyncHeavyFixture _asyncHeavyFixture;
9 |
10 | public UnitTest3(AsyncHeavyFixture asyncAsyncHeavyFixture)
11 | {
12 | _asyncHeavyFixture = asyncAsyncHeavyFixture;
13 | }
14 |
15 | [Fact]
16 | public void Test() => _asyncHeavyFixture.Use();
17 | }
18 | }
--------------------------------------------------------------------------------
/Samples/SharedContext/SharedContext.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | VisualStudioVersion = 15.0.26124.0
5 | MinimumVisualStudioVersion = 15.0.26124.0
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SharedContext.Tests", "SharedContext.Tests\SharedContext.Tests.csproj", "{35FB059E-345A-404C-AB95-F5B01EC3CC53}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Debug|x64 = Debug|x64
12 | Debug|x86 = Debug|x86
13 | Release|Any CPU = Release|Any CPU
14 | Release|x64 = Release|x64
15 | Release|x86 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
21 | {35FB059E-345A-404C-AB95-F5B01EC3CC53}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
22 | {35FB059E-345A-404C-AB95-F5B01EC3CC53}.Debug|Any CPU.Build.0 = Debug|Any CPU
23 | {35FB059E-345A-404C-AB95-F5B01EC3CC53}.Debug|x64.ActiveCfg = Debug|Any CPU
24 | {35FB059E-345A-404C-AB95-F5B01EC3CC53}.Debug|x64.Build.0 = Debug|Any CPU
25 | {35FB059E-345A-404C-AB95-F5B01EC3CC53}.Debug|x86.ActiveCfg = Debug|Any CPU
26 | {35FB059E-345A-404C-AB95-F5B01EC3CC53}.Debug|x86.Build.0 = Debug|Any CPU
27 | {35FB059E-345A-404C-AB95-F5B01EC3CC53}.Release|Any CPU.ActiveCfg = Release|Any CPU
28 | {35FB059E-345A-404C-AB95-F5B01EC3CC53}.Release|Any CPU.Build.0 = Release|Any CPU
29 | {35FB059E-345A-404C-AB95-F5B01EC3CC53}.Release|x64.ActiveCfg = Release|Any CPU
30 | {35FB059E-345A-404C-AB95-F5B01EC3CC53}.Release|x64.Build.0 = Release|Any CPU
31 | {35FB059E-345A-404C-AB95-F5B01EC3CC53}.Release|x86.ActiveCfg = Release|Any CPU
32 | {35FB059E-345A-404C-AB95-F5B01EC3CC53}.Release|x86.Build.0 = Release|Any CPU
33 | EndGlobalSection
34 | EndGlobal
35 |
--------------------------------------------------------------------------------
/Samples/TheoryAndDataAttribute/TheoryAndDataAttribute.Tests/AddTestDataSets.cs:
--------------------------------------------------------------------------------
1 | using System.Collections;
2 | using System.Collections.Generic;
3 |
4 | namespace TheoryAndDataAttribute.Tests
5 | {
6 | class AddTestDataSets : IEnumerable