exam icon indicating copy to clipboard operation
exam copied to clipboard

Helpers for better testing.

Results 9 exam issues
Sort by recently updated
recently updated
newest added

```console + PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-exam-0.10.6-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-exam-0.10.6-2.fc35.x86_64/usr/lib/python3.8/site-packages + /usr/bin/python3 -Bm pytest -ra =========================================================================== test session starts ============================================================================ platform linux -- Python 3.8.9, pytest-6.2.3, py-1.10.0, pluggy-0.13.1 rootdir: /home/tkloczko/rpmbuild/BUILD/exam-0.10.6 plugins: forked-1.3.0, shutil-1.7.0, virtualenv-1.7.0, asyncio-0.14.0, expect-1.1.0, cov-2.11.1,...

As nose won't work with Python 3.9/3.10 Using `python{3,2} -m unittest{,2} discover -s tests/ -v` worked fine

I'm using docstring type annotations for type hinting purposes and `@fixture` decorator didn't copy `__doc__` of decorated attribute, but `@property` does. So you should add additional behavior or remove >...

Any combination of usage of `before` or `after` parameters results in an error, for example: ``` Traceback (most recent call last): File "example.py", line 10, in test_assertdoesnotchange_after with self.assertDoesNotChange(lambda: 0,...

It would be great to be able to do this: ``` python @around def build_db(self) db = db.connect() yield db db.close() def test_foo(self, db): assert db.query('SELECT 1') ```

enhancement

When used inline, `fixture` type checks the first argument to see if it's a `type` or method in order to apply it inline: https://github.com/Fluxx/exam/blob/1ab943509614b472355408c183e0cba962234532/exam/decorators.py#L31 This doesn't handle cases when the...

bug

Should work the same way `@before` does.

enhancement

Allow for an easy way to reset a fixture inside of a test case.

Bumps [thor](https://github.com/rails/thor) from 0.16.0 to 1.4.0. Release notes Sourced from thor's releases. 1.4.0 What's Changed Lazily load YAML by @​deivid-rodriguez in rails/thor#892 Fix encoding error when trying to show a...

dependencies
ruby