Tests and excluded tag :pending

Hi

Some of the tests have the tag :pending that are excluded when I run mix test locally. When I submit all the tests are run.

  1. Whats the point of not running these tests?
  2. Can I disable this behaviour, ie. can I somehow run mix tests and have all the tests executed?

cheers
mg

Re 1: Practice exercises on Exercism are supposed to encourage Test-Driven Development. This is a global platform guideline, see building practice exercises:

Exercism favors Practice Exercises being completed via Test Driven Development. To achieve this, there are two options:

  • The test runner must run the tests in the order defined in the file AND the test suite must bail on the first failure; or
  • All but the first test should be skipped by default.

The idea is that the student focuses on solving the exercise in small increments, striving to make one test pass at a time, and not the whole test suite at once.

Re 2: See the documentation about running Elixir test on Exercism

1 Like

understood, thank you