Unit testing features that exercism exercises use

In the Select testing framework part of launch tracking I read this line:

Remember that all Exercism exercises are by nature very small, so there is no need for the complexity that real-world projects sometimes require.

I’m currently writing a simple unit test library for BQN, and I was wondering what features would be useful for exercism. So far I have these:

  • assert equal
  • must fail

To other exercism track creators and maintainers: what other features would be useful for a new track?

It sorta depends on the language itself, for example a lot of track requires:

  • assert almost_equal

Although that depends on how the language deals with floating-point numbers.

1 Like

Some form of assertTrue can be useful and easily extended to pretty much any other assert. Though a must fail is essentially the same with a not added.