Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Specter In 5 minutes

Specter In 5 minutes

Lightning talk at PyCon 2016 Lviv.

Demo available at https://asciinema.org/a/c2dz2erferc09srzojtkqolvz

Stas Sușcov

April 24, 2016
Tweet

More Decks by Stas Sușcov

Other Decks in Technology

Transcript

  1. Super Simple API from specter import Spec, expect class MySpec(Spec):

    def it_returns_2(self): expect(1 + 1).to.equal(2)
  2. Smart BuiLt-in Runner $ specter --search my_pkg --no-art ------------------------ -------

    Summary -------- Pass | 0 Skip | 0 Fail | 0 Error | 0 Incomplete | 0 Test Total | 0 - Expectations | 0 ------------------------
  3. Leverages OOP • Nested test cases • Class based fixtures

    support • (before/after)_all • (before/after)_each
  4. Thanks! More Information Below. Specter home page: http://specter.readthedocs.org/en/latest/ ___ _/

    @@\ ~- ( \ O/__ Specter ~- \ \__) ~~~~~~~~~~ ~- / \ Keeping the Bogeyman away from your code! ~- / _\ ~~~~~~~~~