Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add specs #1

Closed
vjt opened this issue Feb 21, 2015 · 3 comments
Closed

Add specs #1

vjt opened this issue Feb 21, 2015 · 3 comments
Assignees

Comments

@vjt
Copy link
Contributor

vjt commented Feb 21, 2015

The Eaco code is currently only battle-tested. A full spec suite is missing.

I've started writing "unit" specs for Eaco and Eaco::ACL, but as of now I feel I am just testing the internals and not the whole picture. A better approach is needed.

Moreover, a full integration testing is due.

@vjt vjt self-assigned this Feb 24, 2015
@vjt
Copy link
Contributor Author

vjt commented Feb 24, 2015

Cucumber has been chosen as an integration testing tool, as it allows to easily describe scenarios and fixtures together in the .feature file.

Compatibility infrastructure has been created for the different ActiveRecord versions, and the first feature that tests ACL persistance is running.

All is on Travis Build Status and Coveralls Coverage Status 😄

@vjt
Copy link
Contributor Author

vjt commented Feb 28, 2015

Cucumber features covering 99% of the codebase are in place, despite not very pretty, they are functional. Specs are only implemented for the ACL class, but more should follow. Help wanted.

@vjt
Copy link
Contributor Author

vjt commented Sep 20, 2016

Spec suite is deemed OK for now.

@vjt vjt closed this as completed Sep 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant