Skip to content

Releases: kokoabim/vscode-development-driven-testing

0.3.0

04 Feb 04:12

Choose a tag to compare

  • Added feature to add TestServiceProvider support to projects. This provides the target project's dependency injection (DI) functionality in unit tests. If your target project has an IServiceCollection extension method (which is a common practice), you'd use the ConfigureServices property of the TestServiceProviderConfiguration class which is passed to the constructor of TestServiceProvider to add the target project's DI functionality in unit tests. See the TestServiceProviderExample.cs file after adding this support. This can be enabled to always be add to test projects when generating unit tests. Disabled by default. Though a stand-alone command exists to add this support to a project.
    • Stand-alone Command: "Add TestServiceProvider Support To Project..." (kokoabim.ddt.add-testserviceprovider-support)
    • Settings: ddt.addTestServiceProviderSupport and ddt.packagesForTestServiceProviderSupport

0.2.4

28 Jan 00:13

Choose a tag to compare

  • Added methodNamesToIgnore setting to specify method names to ignore when generating unit tests. For example, Dispose, ToString, etc. This settings has default values.
  • Fixed improperly attempting to generate unit test for the destructor/finalizer method.

0.2.2

19 Jan 16:11

Choose a tag to compare

  • Fixed issues relating to namespaces and usings.
  • Fixed a few minor issues testing with different coding styles to provide better support.

0.2.1

19 Jan 07:47

Choose a tag to compare

  • Fixed issue with primary constructors.

0.2.0

19 Jan 04:21

Choose a tag to compare

  • Reintroducing extension. I pulled it because the VSCode API broke it and I didn't have time to address it.
  • Fixed issue with VSCode API which broke the extension.
  • Fixed a lot of minor issues.
  • Note, there are known styles of codeblocks that this extension may not generate unit tests for, which I hope to address. So for they seem to be edge cases.