Commit Graph

985 Commits

Author SHA1 Message Date
Czar Echavez
8f063aa339 #2084: apply previous PR suggestions 2023-12-04 09:07:42 +00:00
Czar Echavez
534d4f96f3 #2084: add coverage fail condition 2023-12-04 08:58:03 +00:00
Czar Echavez
f55e18c4c8 Merged PR 225: #2084: Adding more tests
## Summary
Added tests and integrating code coverage checks - current target set to 80% of code to be covered by tests

## Test process
The pull request is literally to add more tests (lol)

## Checklist
- [X] PR is linked to a **work item**
- [X] **acceptance criteria** of linked ticket are met
- [X] performed **self-review** of the code
- [X] written **tests** for any new functionality added with this PR
- [ ] updated the **documentation** if this PR changes or adds functionality
- [ ] written/updated **design docs** if this PR implements new functionality
- [ ] updated the **change log**
- [X] ran **pre-commit** checks for code style
- [ ] attended to any **TO-DOs** left in the code

#2084: beginning the introduction of code coverage + adding tests to try to meet the 80% code coverage target

Related work items: #2084
2023-12-03 14:55:20 +00:00
Czar Echavez
1d5337153b #2084: fix pr autocancel 2023-12-02 19:46:04 +00:00
Czar Echavez
1cc0020381 #2084: only upload copy of html report once 2023-12-02 19:38:45 +00:00
Czar Echavez
53f43dde0d #2084: cleaning up 2023-12-02 19:07:10 +00:00
Czar Echavez
060a46e251 #2084: more debugging 2023-12-02 18:44:27 +00:00
Czar Echavez
7b21f390c0 #2084: more debugging 2023-12-02 15:31:36 +00:00
Czar Echavez
e48f0a6d68 #2084: more debugging 2023-12-02 14:41:45 +00:00
Czar Echavez
2123fbb8f4 #2084: more debugging 2023-12-02 14:17:34 +00:00
Czar Echavez
47287ad1eb #2084: fixing 0% coverage 2023-12-02 13:44:39 +00:00
Czar Echavez
6ecb47f5ae #2084: debug coverage file 2023-12-02 01:19:38 +00:00
Czar Echavez
31c4287f46 #2084: applying github example fix to pipeline 2023-12-02 01:05:13 +00:00
Czar Echavez
af8401440d #2084: using v2 publish codecov 2023-12-01 16:29:05 +00:00
Czar Echavez
88f74d9eec #2084: remove debugs and comment out the uploading of report 2023-12-01 16:08:02 +00:00
Czar Echavez
8a4978cf96 #2084: remove 80% requirement - causes tests to fail 2023-12-01 15:59:34 +00:00
Czar Echavez
9a8350fd8f #2084: artifact the report 2023-12-01 15:49:20 +00:00
Czar Echavez
f0327da9b6 #2084: remove 80% requirement - causes tests to fail 2023-12-01 15:33:43 +00:00
Czar Echavez
6598c66da1 #2084: i hope no one is keeping an eye on these atrocious commit messages 2023-12-01 15:18:38 +00:00
Czar Echavez
294f57c292 #2084: find paths with wildcard 2023-12-01 15:08:42 +00:00
Czar Echavez
d6fedf0079 #2084: maybe pointing to different source might help 2023-12-01 14:58:22 +00:00
Czar Echavez
656cb03b16 #2084: print content of coverage.xml 2023-12-01 14:34:42 +00:00
Czar Echavez
4f57403751 #2084: debug pipeline 2023-12-01 13:52:06 +00:00
Czar Echavez
c21a52d3f7 #2084: debug pipeline 2023-12-01 13:26:27 +00:00
Czar Echavez
1dbea3041a #2084: add files + remove extra slash 2023-12-01 12:46:12 +00:00
Czar Echavez
738aeed0a5 #2084: debug pipeline 2023-12-01 12:05:12 +00:00
Czar Echavez
6430a7588d #2084: debug pipeline 2023-12-01 11:38:34 +00:00
Czar Echavez
74b8f58b36 #2084: debug pipeline 2023-12-01 11:22:30 +00:00
Czar Echavez
4ad93b0961 #2084: publish coverage report + more verbose test output 2023-12-01 10:32:48 +00:00
Czar Echavez
f1c706631f #2084: publish coverage report 2023-12-01 10:02:12 +00:00
Czar Echavez
3eb9a5ef1c #2084: publish coverage report 2023-12-01 09:13:17 +00:00
Czar Echavez
c2f7d737f7 #2084: missed change to logger 2023-11-30 21:11:35 +00:00
Czar Echavez
5b50213626 #2084: upload reports - debug 2023-11-30 19:58:35 +00:00
Czar Echavez
4c1bb7d786 #2084: upload reports - debug 2023-11-30 19:43:23 +00:00
Czar Echavez
4572afac69 #2084: upload reports - debug 2023-11-30 19:34:18 +00:00
Czar Echavez
d60250e1b8 #2084: upload reports - azure cannot find things 2023-11-30 19:21:11 +00:00
Czar Echavez
bfb631f88c #2084: upload reports - use default htmlcov location 2023-11-30 18:45:27 +00:00
Czar Echavez
9d4e564e0e #2084: upload reports 2023-11-30 18:32:03 +00:00
Czar Echavez
423436c3ad #2084: testing webbrowser requesting database service user data via web server 2023-11-30 16:32:31 +00:00
Czar Echavez
d9de57757f #2084: more tests + remove concurrency in test to make sure coverage works 2023-11-30 15:47:31 +00:00
Czar Echavez
3cf21e4015 #2084: change all instances of retrieving software from software['software_name'] to software.get() + adding some tests for describe state 2023-11-30 13:49:37 +00:00
Czar Echavez
7c1ffb5ba1 #2084: change all instances of retrieving software from software['software_name'] to software.get() + adding some tests for describe state 2023-11-30 13:48:57 +00:00
Czar Echavez
349f9dee38 Merge remote-tracking branch 'origin/dev' into feature/2084-add-more-tests-to-make-primaite-more-robust 2023-11-30 09:29:34 +00:00
Marek Wolan
deea09f88d Merged PR 226: Episode Reset
## Summary
After initial setup, get sim components to save their state. Then, during episode reset, set attributes to original values.

## Test process
Test script that checks for web client ability to resolve requests after a reset. Formal tests don't exist.

## Checklist
- [x] PR is linked to a **work item**
- [x] **acceptance criteria** of linked ticket are met
- [x] performed **self-review** of the code
- [ ] written **tests** for any new functionality added with this PR
- [ ] updated the **documentation** if this PR changes or adds functionality
- [ ] written/updated **design docs** if this PR implements new functionality
- [ ] updated the **change log**
- [x] ran **pre-commit** checks for code style
- [ ] attended to any **TO-DOs** left in the code

Related work items: #1859, #2087
2023-11-30 09:10:06 +00:00
Marek Wolan
9d39458ef3 Deleted sandbox.py 2023-11-29 22:30:12 +00:00
Czar Echavez
b2a52b2ec0 #2084: created a fixture that we can use to test things at a non end to end level 2023-11-29 16:31:21 +00:00
Marek Wolan
ac2f7ba757 Fix web browser tests. 2023-11-29 14:33:52 +00:00
Marek Wolan
a16116a688 Fix file system reset error 2023-11-29 13:22:15 +00:00
Marek Wolan
05d62a956d Fix software reset issues 2023-11-29 13:18:38 +00:00
Chris McCarthy
bf73cc2eb7 #1859 - Re-ordered the node reset function again 2023-11-29 13:45:34 +00:00