Vedro

  • Just plain Python assert
  • Any Python expression works
  • One obvious way to write

Other Frameworks

  • Custom assertion APIs to learn
  • Limited to pre-defined matchers
  • Constant documentation checks

See the Difference

Compare the simplicity of Vedro with the complexity of other frameworks

Vedro

assert greeting == 'Hello Bob!'
    
Other Frameworks
self.assertEqual(greeting, 'Hello Alice!')
expect(greeting).toEqual('Hello Alice!')
expect(greeting).to.equal('Hello Alice!')
Vedro

assert error_code not in [400, 500]
    
Other Frameworks
self.assertNotIn(error_code, [400, 500])
expect([400, 500]).not.toContain(error_code)
expect([400, 500]).to.not.include(error_code)
Vedro

assert len(results) >= 10
    
Other Frameworks
self.assertGreaterEqual(len(results), 10)
expect(results.length).toBeGreaterThanOrEqual(10)
expect(results).to.have.length.of.at.least(10)