Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
C
clean-test
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • clean-and-itasks
  • clean-test
  • Issues
  • #15

Closed
Open
Opened Jun 07, 2018 by Markus Klinik@mklinikDeveloper

Documentation: add example tests

I'd like to write my own unit tests, but I'm having a hard time figuring out how to use the new test framework.

Some small but complete examples would be really helpful, ready to compile and run. I'm thinking about an example with a pure clean function, one with Gast properties, and maybe one with iTasks.

Ideally these examples can be used as templates, so that when I start a new project, I copy them to a test subdirectory in my project, import my modules, and start testing.

Edited Jun 25, 2018 by Camil Staps
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: clean-and-itasks/clean-test#15