Skip to content

Unit tests / tests (code) #238

@unsecretised

Description

@unsecretised

Currently, rustcast has no tests to ensure code functionality.

I'm not very sure how to add good tests but rustcast needs tests since there are more contributors now, adding tests might be a good idea.

Ideally someone from @RustCastLabs/rustcast-dev should take this but if anyone else is willing to tackle it, go ahead.

So far the following items should have tests in my opinion:

  • AppIndex struct related methods / factory functions
  • Debouncer
  • File search
  • AppCommand (turning into Function)
  • App discovery / Macos specific APIs as much as possible
  • Calculator & "is_url_like" & unit conversions

Feel free to suggest more, since this definetly lacks a lot of the places that would need tests.

Metadata

Metadata

Assignees

Labels

HIGH PRIORITYIssues that should be fixed ASAPassignedFor issues that have been assigned to someone to work onbefore v1.0.0Issue should be closed before v1.0.0help wantedExtra attention is neededquestionFurther information is requested

Type

No type

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions