spectator v0.2.0
Spectator
A test suite for the Grip framework.
Installation
-
Add the dependency to your
shard.yml
:dependencies: grip: github: grip-framework/grip spectator: github: grip-framework/spectator
-
Run
shards install
Usage
Require after you require any of your tests in the spec_helper.cr
.
require "../src/your_grip_app"
require "spectator"
Test the controllers using the Spectator shard.
describe "Controller test example" do
it "renders /" do
response = get Application.new, "/"
response.status_code.should eq 200
end
end
Contributing
- Fork it (https://github.com/grip-framework/spectator/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Giorgi Kavrelishvili - creator and maintainer
Repository
spectator
Owner
Statistic
- 2
- 0
- 0
- 0
- 1
- about 2 years ago
- July 4, 2022
License
MIT License
Links
Synced at
Fri, 27 Dec 2024 05:15:33 GMT
Languages