Providing Input to a Component Under Test
This section covers the various ways to provide input to a component under test, its split into three sub sections:
- Passing Parameters to Components: This covers passing regular parameters, child content, cascading values, event callbacks, etc. This topic is mostly relevant when writing tests in C# only.
- Injecting Services into Components Under Test: This covers injecting services into components under test. This topic is relevant for both Razor-based tests and C# only tests.
- Configure 3rd Party Libraries for Testing: This covers setting up 3rd party libraries in a bUnit testing scenario, such that components under test that use them can be tested easily.