I'm not putting so much effort into promotion unfortunately...
But I'm actively developing it for 2 years now
almost three :))
Nice, I know how that feels. I have been building GitVersion for about that same time too
Have you seen BDDfy? Also another project based on it https://github.com/mwhelan/Specify - Looks like we share similar concepts, except yours is also a test running whereas BDDfy/specify fit within existing test libraries
I like the shouldly syntax a lot, but I'm wondering if there's a way to make them stand out a bit. When quickly scanning through test code it's hard to see what is the "assert" compared to "act". In JS and mocha the BDD syntax is: expect(myvar).to.be.null; The dot syntax isn't interesting, but the "expect()" is very helpful even if it can seem like unnecessary code.
I guess one way would be a generic Expect() method that just returns the param. Has anyone experimented with or seen what I'm looking for?
@seriema not sure there is much in that space. Assert. style libraries like xUnit assertions probably match what you want better.
TBH I just sometimes use // Assert in my tests to separate it
I have been looking at shouldy and it seems nice i just have one question, does this replace other unit test frameworks like mstest and xunit or does it just enhance them?
@AnderssonPeter it is an assertion library, it can be used with any unit test framework
@AnderssonPeter, we use it in conjunction with both Xunit and NUnit with absolutely no issues.
I've a question - what test runner should I use for running the tests in the latest master? My usual runners are NCrunch and Resharper and although the solution builds just fine, neither of them can find any test assemblies.
Visual studio :(
its the only one which supports dotnet test
command line also works if you run dotnet test in the test project folder