Skip to content

Commit

Permalink
Last touches to the talk.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexamici committed Jul 22, 2016
1 parent 2ea22ec commit a8cc4c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions slides/europython-talk.rst
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,11 @@ Unit tests validation
An independent use case for test-driven code search is unit tests validation.

Adding ``pytest.mark.candidate`` markers does not affect your tests until you
explicitely activate *pytest-nodev* it with a ``--candidates-from-*`` option,
explicitly activate *pytest-nodev* it with a ``--candidates-from-*`` option,
so you can just add the markers to your regular tests.

Once in a while you can make a search for your tests with ``--candidates-from-all`` and
if a test passes with an unexpected object there are two possibilities,
Once in a while you can make a search with your test as a query and
if the test passes with an unexpected object there are two possibilities,
either the test is not strict enough and allows for false positives and needs to be updated,
or the **PASSED** is actually a function you could use instead of your implementation.

Expand Down

0 comments on commit a8cc4c0

Please sign in to comment.