4 ms·
I hope TypeScript community will come up with something as powerful as py.test soon. Fixtures keep your wrists agony free when writing tests. Asserts are joy to
by miohtama 6y ago
I hope TypeScript community will come up with something as powerful as py.test soon. Fixtures keep your wrists agony free when writing tests. Asserts are joy to read. Decorators make everything readable. Plugin system has a solution for everything.
Meanwhile in the JS land I.cannot().keep.guessing().what().crap().to.chain.or.not().
- nunez 6y agopytest is awesome, but I wish pytest were more like rspec. In my opinion, rspec is THE BEST testing framework out there.
- travisjungroth 6y agoIsn’t the built in unittest based on rspec?
- miohtama 6y agoJest and power asserts is what I use now. It is the best you get but still an order of magnitude behind py.test
- emptysea 6y agoHave you tried https://jestjs.io/ https://jestjs.io/? It doesn't have as crazy of chaining like Mocha and has snapshots which I sometimes miss when using pytest.