[PR #153] [MERGED] [tests] Add missing test_configs folder. refactor sta4 test #348

Closed
opened 2026-03-04 01:36:24 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/spr-networks/super/pull/153
Author: @lts-rad
Created: 5/24/2023
Status: Merged
Merged: 5/25/2023
Merged by: @lts-rad

Base: devHead: test-refactor


📝 Commits (3)

  • 2f34556 [tests] Add missing test_configs folder. refactor sta4 test
  • ecd8aff update tests
  • 90712d1 [testing] add wifi test

📊 Changes

45 files changed (+9450 additions, -43 deletions)

View changed files

tests/code/test/wifi.js (+174 -0)
tests/run-tests.sh (+58 -0)
📝 tests/runner/Dockerfile (+1 -1)
tests/runner/build.sh (+2 -0)
tests/runner/go.sh (+11 -0)
📝 tests/sta1/Dockerfile (+3 -0)
📝 tests/sta1/sta4.conf (+0 -0)
tests/sta1/sta4.sh (+17 -0)
tests/sta4/build.sh (+0 -2)
tests/sta4/go.sh (+0 -39)
tests/test_configs/.gitignore (+2 -0)
tests/test_configs/base/api.json (+73 -0)
tests/test_configs/base/auth_tokens.json (+8 -0)
tests/test_configs/base/auth_users.json (+1 -0)
tests/test_configs/base/config.sh (+32 -0)
tests/test_configs/base/dhcp.json (+7 -0)
tests/test_configs/base/firewall.json (+32 -0)
tests/test_configs/base/interfaces.json (+17 -0)
tests/test_configs/base/release_channel (+1 -0)
tests/test_configs/base/release_version (+1 -0)

...and 25 more files

📄 Description

@lts-po hey there, this adds the missing test_configs directory

i moved out the sta4 stuff to run distinctly from the rest

and then the tests run in the 'runner' docker container, with network=host since the docker-compose-test.yml will expose the API on localhost:8000.

usage:

RUNTEST=1 ./tests/test_start.sh 
./tests/test_stop.sh

or

./tests/test_start.sh
./tests/run-tests.sh
./tests/test_stop.sh

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/spr-networks/super/pull/153 **Author:** [@lts-rad](https://github.com/lts-rad) **Created:** 5/24/2023 **Status:** ✅ Merged **Merged:** 5/25/2023 **Merged by:** [@lts-rad](https://github.com/lts-rad) **Base:** `dev` ← **Head:** `test-refactor` --- ### 📝 Commits (3) - [`2f34556`](https://github.com/spr-networks/super/commit/2f34556e95d8c7ed3ba3b620116f5496866bab73) [tests] Add missing test_configs folder. refactor sta4 test - [`ecd8aff`](https://github.com/spr-networks/super/commit/ecd8affcd749330a0e6701eca52e263641a1f0db) update tests - [`90712d1`](https://github.com/spr-networks/super/commit/90712d146f8cfe19379858bb4ff9834343259be8) [testing] add wifi test ### 📊 Changes **45 files changed** (+9450 additions, -43 deletions) <details> <summary>View changed files</summary> ➕ `tests/code/test/wifi.js` (+174 -0) ➕ `tests/run-tests.sh` (+58 -0) 📝 `tests/runner/Dockerfile` (+1 -1) ➕ `tests/runner/build.sh` (+2 -0) ➕ `tests/runner/go.sh` (+11 -0) 📝 `tests/sta1/Dockerfile` (+3 -0) 📝 `tests/sta1/sta4.conf` (+0 -0) ➕ `tests/sta1/sta4.sh` (+17 -0) ➖ `tests/sta4/build.sh` (+0 -2) ➖ `tests/sta4/go.sh` (+0 -39) ➕ `tests/test_configs/.gitignore` (+2 -0) ➕ `tests/test_configs/base/api.json` (+73 -0) ➕ `tests/test_configs/base/auth_tokens.json` (+8 -0) ➕ `tests/test_configs/base/auth_users.json` (+1 -0) ➕ `tests/test_configs/base/config.sh` (+32 -0) ➕ `tests/test_configs/base/dhcp.json` (+7 -0) ➕ `tests/test_configs/base/firewall.json` (+32 -0) ➕ `tests/test_configs/base/interfaces.json` (+17 -0) ➕ `tests/test_configs/base/release_channel` (+1 -0) ➕ `tests/test_configs/base/release_version` (+1 -0) _...and 25 more files_ </details> ### 📄 Description @lts-po hey there, this adds the missing test_configs directory i moved out the sta4 stuff to run distinctly from the rest and then the tests run in the 'runner' docker container, with network=host since the docker-compose-test.yml will expose the API on localhost:8000. usage: ```bash RUNTEST=1 ./tests/test_start.sh ./tests/test_stop.sh ``` or ```bash ./tests/test_start.sh ./tests/run-tests.sh ./tests/test_stop.sh ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 01:36:24 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/super#348
No description provided.