Skip to content

Testing Environment #163

@samlikins

Description

@samlikins

Issue #162 is a great lead into my current phase of additions. I've created a branch locally for generating tests. This will provide a viable solution to preventing minor changes like these from passing unnoticed.

Starting with functional tests, to provide end-to-end style testing. In addition to the function tests I'll be adding unit-tests, which should pinpoint where the offending bug is occurring. I'm structuring the tests in the repository to separate these two logical test types for ease of development testing. This should provide the inclusion of additional types of tests to simplify future development work.

I've created a Docker development environment, much like how I created one in the site repository. This should simplify running the tests, speed up local CI/CD, while also unifying the environments across different systems. The Docker will include checkbashisms, shellcheck, shunit2 (along with my suite loader), and bashcov. I'll be providing a development document to explore this new tool-set and see about adding these tests to the GitHub workflow.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions