From 7c8691b88d05e53777616ac21615a99db7293053 Mon Sep 17 00:00:00 2001 From: Keith Zantow Date: Wed, 4 Aug 2021 16:12:25 -0400 Subject: [PATCH 1/2] docs(tests): basic local testing docs Signed-off-by: Keith Zantow --- .gitignore | 5 +++++ tests/README.md | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 tests/README.md diff --git a/.gitignore b/.gitignore index 033f766c..a55947db 100644 --- a/.gitignore +++ b/.gitignore @@ -108,3 +108,8 @@ typings/ # IDE files/dirs .vscode + +# Exclude python test artifacts +/act +/venv/* +/tests/functional/__pycache__/* diff --git a/tests/README.md b/tests/README.md new file mode 100644 index 00000000..6198f697 --- /dev/null +++ b/tests/README.md @@ -0,0 +1,6 @@ +# Developing tests + +Current tests are written in Python 3 and will download [act](https://github.com/nektos/act) and create a Python virtual environment to run them in. To run these locally, from the root directory execute: +``` +make check +``` From 0fc27e818abd9c038e97b89c48e820800f5235e2 Mon Sep 17 00:00:00 2001 From: Keith Zantow Date: Mon, 16 Aug 2021 13:39:41 -0400 Subject: [PATCH 2/2] fix: make check runs against dist/index.js Signed-off-by: Keith Zantow --- tests/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/README.md b/tests/README.md index 6198f697..8ac216a6 100644 --- a/tests/README.md +++ b/tests/README.md @@ -2,5 +2,6 @@ Current tests are written in Python 3 and will download [act](https://github.com/nektos/act) and create a Python virtual environment to run them in. To run these locally, from the root directory execute: ``` +npm run build make check ```