Files
RustPython/tests
hatee-hatee-hatee-ho 4903f8e5ab Implemented SetIterator
skip test TestWeirdBugs.test_merge_and_mutate

Co-Authored-By: Daniel Alley <dalley@redhat.com>
2020-08-09 16:24:38 +09:00
..
2019-08-22 03:11:51 +02:00
2020-08-09 16:24:38 +09:00
2020-04-02 17:42:01 -05:00
2020-04-02 17:42:01 -05:00
2020-07-14 08:30:23 +09:00
2019-11-24 15:37:32 +01:00
2019-07-16 19:13:07 -05:00

Test snippets

This directory contains two sets of test snippets which can be run in Python. The snippets/ directory contains functional tests, and the benchmarks/ directory contains snippets for use in benchmarking RustPython's performance.

Setup

Our testing depends on pytest, which you can either install globally using pip or locally using our pipenv.

Running

Simply run pytest in this directory, and the tests should run (and hopefully pass). If it hangs for a long time, that's because it's building RustPython in release mode, which should take less time than it would to run every test snippet with RustPython compiled in debug mode.