Skip to content

Ongoing Issue: Unit and Integration Testing #1563

@JRustyHaner

Description

@JRustyHaner

@imrryr @MegaGeese I'm going to put notes in here regarding my efforts to make unit tests and integration tests for mofacts. Usually they will be questions I might have about specs, or observations from running the tests. I'm going through each function, and I've already found something that is interesting. Sorry if this is a lot, but I want to harden mofacts a bit.

Methods.js, Line 2655 getAccessableTDFSForUser and Line 2662 getAssignableTDFSForUser
Question, why is there a difference between 'Accessible' and 'Assignable' in this context. If something is accessible, it should be assignable, right? The getAccessableTDFSForUser function is only used in data download, and getAssignableTDFSForUser is only used in assignments. These are functionally the same thing?

Metadata

Metadata

Labels

code cleanupRefactoring and code healthdocumentationImprovements or additions to documentation

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions