Files
RustPython/tests
coolreader18 3085eadcb5 Merge pull request #1055 from romab1998/feature/ord_bytes_bytearray
add bytearray and bytes input types for ord()
2019-06-23 21:16:54 -05:00
..
2019-04-08 16:03:24 +02:00
2019-04-08 16:03:35 +02:00
2018-07-09 22:06:49 +02:00
2018-08-14 22:44:55 +02:00
2018-08-14 22:44:55 +02: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.

Generates the test for not implemented methods

run using cpython not_impl_gen.py it automatically generate a test snippet to check not yet implemented methods

Running with CPython + RustPython

One way to run these snippets is by using CPython to do the parsing and compilation to bytecode. When this is done, run the bytecode with rustpython.

Running with RustPython

The other option is to run all snippets with RustPython.