2018-09-17 07:54:10 +00:00
|
|
|
# Hacking on Lorax
|
|
|
|
|
|
|
|
Here's where to get the code:
|
|
|
|
|
|
|
|
$ git clone https://github.com/weldr/lorax
|
|
|
|
$ cd lorax/
|
|
|
|
|
|
|
|
How to build it:
|
|
|
|
|
|
|
|
$ make
|
|
|
|
|
|
|
|
## How to run the tests
|
|
|
|
|
|
|
|
To run the tests you need the following dependencies installed:
|
|
|
|
|
|
|
|
$ yum install python3-nose python3-pytest-mock python3-pocketlint \
|
2019-06-24 13:40:50 +00:00
|
|
|
python3-mock python3-magic
|
2018-09-17 07:54:10 +00:00
|
|
|
|
|
|
|
Run the basic linting tests like this:
|
|
|
|
|
|
|
|
$ make check
|
|
|
|
|
|
|
|
|
|
|
|
To run the broader unit and integration tests we use:
|
|
|
|
|
|
|
|
$ make test
|
|
|
|
|
2021-04-23 18:57:15 +00:00
|
|
|
The tests may also be run using a podman container:
|
2018-09-17 07:54:10 +00:00
|
|
|
|
2021-04-23 18:57:15 +00:00
|
|
|
$ make test-in-podman
|