Skip to content

Basic set of tests #106

Closed
0 of 1 issue completed
Closed

Description

@Hirschfuchs

The application has already been equipped with the correct testing tools. Now the entire codebase should be furnished with tests in order to keep the code reliable and stable.

Activity

  1. self-assigned this
    on Nov 24, 2025
  2. added
    refactoring ♻️Something existing, which should be improved or optimized (no new features)
    on Nov 24, 2025
  3. added theissue type on Nov 24, 2025
  4. Hirschfuchs commented on Nov 24, 2025

    @Hirschfuchs
    MemberAuthor

    The testing framework for iced is currently under construction: https://github.com/iced-rs/iced/tree/190b9f60b4b189767ca5d71eb82d8954ac4a55cd/test

    I have to wait until iced 0.14 to use it. The CLI version as well as the entire lib can be tested already. The testing of the GUI gets separated into its own ticket dependant on iced 0.14. Work on that can already begin on a loose branch using the GIT-version of the iced dependency.

  5. added
    testing ✅Updates to the set of tests
    and removed
    refactoring ♻️Something existing, which should be improved or optimized (no new features)
    on Nov 24, 2025
  6. Hirschfuchs commented on Nov 24, 2025

    @Hirschfuchs
    MemberAuthor

    As of now, I separated the tests:

    • every file contains a test for the corresponding file contents
    • those tests split in unit tests for detailed logic testing and integration tests for the interaction of functions
    • a separate tests folder contains integration tests, that run directly on a simulated CLI. Those tests are completely separated from the production code, because they alter the environment.
  7. added 5 commits that reference this issue on Nov 24, 2025
  8. Hirschfuchs commented on Nov 25, 2025

    @Hirschfuchs
    MemberAuthor

    In #109 the preparation for the testing of the lib was done — a refactoring regarding the lib.rs. most parts of that integral part of the software is already tested by now, a PR will probably follow tomorrow.

    How many tests GUI, CLI and usbio get, will be decided tomorrow as well. But it's on its way ;)

  9. added a commit that references this issue on Nov 27, 2025
  10. 19 remaining items

  11. added 12 commits that reference this issue on Dec 5, 2025
  12. Hirschfuchs commented on Dec 5, 2025

    @Hirschfuchs
    MemberAuthor

    The basic unit tests have been integrated. All other work was separated on branches and will be continued under #119

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

testing ✅Updates to the set of tests

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions