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

chore: bump version to 0.2.0 #16

Merged
merged 2 commits into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Define tests in a YAML file like show above, and run emberfall: `emberfall --con

uses: "aquia-inc/emberfall@main"
with:
version: 0.1.0
version: 0.2.0
config: |
---
tests:
Expand Down
5 changes: 3 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ import (
var configPath string

var rootCmd = &cobra.Command{
Use: "emberfall",
Short: "Declarative API Testing",
Use: "emberfall",
Short: "Declarative API Testing",
Version: "0.2.0",
Run: func(cmd *cobra.Command, args []string) {
configPath = strings.TrimSpace(configPath)
conf, err := engine.LoadConfig(configPath)
Expand Down
6 changes: 6 additions & 0 deletions tests/cli.bats
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ setup() {
bats_load_library bats-assert
}

@test "--version should be correct" {
run ./emberfall --version
assert_success
assert_output "emberfall version 0.2.0"
}

@test "no config SHOULD FAIL" {
run ./emberfall
assert_failure
Expand Down
Loading