Page MenuHomeVyOS Platform

Python Unit testing
Closed, ResolvedPublicFEATURE REQUEST

Description

Currently, the code is tested by smoketest requiring either a Linux machine or a build environment to check changes.

For vyos-1x, unit testing is run when the Debian packages are generated, which takes some time (over 40 seconds in my case).
Unit test should be able to be run from the repository itself which should make it easier to test code as it is developed and increase code quality.

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Internal change (not visible to end users)

Event Timeline

erkin set Issue type to Internal change (not visible to end users).Aug 30 2021, 7:51 AM
erkin removed a subscriber: Active contributors.
dmbaturin triaged this task as Normal priority.Jan 9 2024, 6:33 PM
dmbaturin edited projects, added VyOS 1.5 Circinus; removed VyOS 1.3 Equuleus (1.3.6).
dmbaturin claimed this task.
dmbaturin added a subscriber: dmbaturin.

Now we have a mix of intra-repo and full-system smoketests.