python-frozendict icon indicating copy to clipboard operation
python-frozendict copied to clipboard

Add tests

Open slezica opened this issue 9 years ago • 2 comments

@ppolewicz @lurch @eugene-eeo

This project is seeing some activity lately (yay), I think it's time to add some tests.

I incorporated test cases written in an earlier fork, linked by @ppolewicz in https://github.com/slezica/python-frozendict/issues/14, but I'm torn between two positions: on one hand, the cases are pretty basic and not much is being actually tested, but on the other hand, most of the real action happens inside dict and OrderedDict, both provided by the stdlib.

I wanted to know your opinions before I merged this in. If you have time, please take a look!

slezica avatar Oct 06 '16 14:10 slezica

While stdlib's unittest module is quite good, maybe we should use pytest or nosetests as they allow us to write more concise tests. Also we can package them in tests_require attribute so that normal installs don't install the whole test library.

eugene-eeo avatar Oct 07 '16 09:10 eugene-eeo

can this be merged?

AlJohri avatar Nov 19 '16 15:11 AlJohri