Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate tests #15

Closed
wants to merge 71 commits into from
Closed

Separate tests #15

wants to merge 71 commits into from

Conversation

BenediktBurger
Copy link
Member

@BenediktBurger BenediktBurger commented Oct 31, 2023

Split the acceptance tests (which regularly fail for Timeout issues) from the other tests.

Maybe we can fix the timeout issues.

This PR is mainly to test the CI with that new configuration.

See #18

BenediktBurger and others added 30 commits February 16, 2023 11:10
Message Layer is still under development.
Coordinator sign-in/out improved.
Tests expanded.
Heartbeat handling improved and tested.
Also a PostgreSQL data_logger version added.
Copy link

PyLECO Coverage

Coverage Report
FileStmtsMissCoverMissing
pyleco
   test.py931282%39, 42, 72, 78, 98, 103, 106, 111, 114, 136–>135, 146–147, 161, 170–>172
pyleco/actors
   actor.py1573181%51, 138–139, 155–157, 161, 165, 169, 177–178, 185, 193, 196–200, 207, 210, 215, 219, 222, 225, 244–245, 251, 258, 266, 282–283
   motorController.py1021020%2–170
pyleco/coordinators
   proxy_server.py715915%58, 72–96, 126–131, 135–177
pyleco/core
   serialization.py56099%93–>95
pyleco/directors
   coordinator_director.py15380%46, 50, 54
   data_logger_director.py24240%25–75
   director.py97789%73–>exit, 97, 108, 129, 138–140, 150
   motor_director.py94940%25–197
   starter_director.py30668%50–>52, 60–62, 70–>72, 80–82, 91–>93
   transparent_director.py31310%25–99
pyleco/management
   data_logger.py25916829%28–33, 42–44, 47–50, 140–141, 144, 148–151, 154–155, 163–164, 166, 170–173, 177–205, 210–215, 225–231, 239–252, 255–260, 269–272, 275–276, 279–282, 294–319, 323–330, 334–351, 355–381, 385, 389, 393–394, 398–416
   data_logger_postgresql.py52520%25–96
   log_logger.py99990%25–218
   starter.py1857854%50–53, 67, 69, 72–73, 125–126, 130–131, 149–164, 168–169, 178–179, 185, 188–190, 196–198, 209–210, 212, 218, 222–223, 226–228, 231–232, 236–237, 240–241, 245, 257, 265–267, 275, 283–287, 291–311
pyleco/management/test_tasks
   test_task.py24775%15, 18, 22, 26, 30, 33, 40
pyleco/utils
   communicator.py1442085%94, 111–112, 130–133, 155, 179–>182, 193–194, 198, 207–213, 231, 244, 247, 251
   coordinator_utils.py308498%80, 175–176, 310, 357–>exit, 430–>429, 450–>exit
   data_publisher.py26389%73, 85–90
   extended_message_handler.py942771%62–63, 74–76, 80, 83, 89, 94–106, 110–116, 120, 138
   extended_publisher.py21210%25–59
   listener.py1484364%77, 90, 94, 98, 102, 106, 112–>exit, 119, 137–138, 165–>167, 183–187, 191–195, 199, 204, 207, 210, 234–>exit, 241, 285–287, 292–295, 299–302, 306–316
   message_handler.py175892%85–>88, 90–>89, 137–>139, 149–150, 186–189, 265–>exit, 266–>exit, 274, 305
   parser.py201132%54–65
   pipe_handler.py128296%104–>101, 175–176, 223–>225, 228–>230, 236–>238
   publisher.py411942%39, 44–56, 90, 94, 97–99, 102–104, 108
   qt_listener.py30300%25–88
   timers.py16570%43, 53–54, 59–60
   zmq_log_handler.py35481%63, 65–>67, 69–71
TOTAL297597066% 

Coverage Summary

Tests Skipped Failures Errors Time
417 4 💤 0 ❌ 0 🔥 14.790s ⏱️

@BenediktBurger BenediktBurger deleted the separate-tests branch February 7, 2024 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant