3
Crost
3y

Are there any class based JavaScript test frameworks? I dislike the whole describe/it setup. I know it's basically the same thing, but I prefer the class setup in .net with xunit. I like being able to write abstract classes for tests..

Comments
  • 3
    Not really. Much like .net it's going to reflect and find tests by convention, then enumerate the things which are tests. JS testing frameworks don't need to access a class to get at the test definitions, since functions are top level in modules.

    Honestly, I'll be surprised if you don't start seeing that now that dotnet has top level execution.
  • 1
    @SortOfTested my head says ++ but my heart says --
Add Comment