diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a9d3e3f..320184d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -66,7 +66,7 @@ nightly: allow_failure: true script: - shards --ignore-crystal-version - - crystal spec --error-on-warnings --junit_output=. + - crystal spec --error-on-warnings --junit_output=. --tag smoke spec/spectator/dsl/ - crystal tool format --check artifacts: when: always diff --git a/spec/features/aggregate_failures_spec.cr b/spec/features/aggregate_failures_spec.cr index 0c4506c..8779dd2 100644 --- a/spec/features/aggregate_failures_spec.cr +++ b/spec/features/aggregate_failures_spec.cr @@ -1,6 +1,6 @@ require "../spec_helper" -Spectator.describe Spectator do +Spectator.describe Spectator, :smoke do describe "aggregate_failures" do it "captures multiple failed expectations" do expect do diff --git a/spec/features/concise_spec.cr b/spec/features/concise_spec.cr index c472a6e..64360a3 100644 --- a/spec/features/concise_spec.cr +++ b/spec/features/concise_spec.cr @@ -1,6 +1,6 @@ require "../spec_helper" -Spectator.describe Spectator do +Spectator.describe Spectator, :smoke do context "consice syntax" do describe "provided group with a single assignment" do provided x = 42 do diff --git a/spec/features/custom_message_spec.cr b/spec/features/custom_message_spec.cr index a0dc973..da7e06c 100644 --- a/spec/features/custom_message_spec.cr +++ b/spec/features/custom_message_spec.cr @@ -1,6 +1,6 @@ require "../spec_helper" -Spectator.describe Spectator do +Spectator.describe Spectator, :smoke do it "supports custom expectation messages" do expect do expect(false).to be_true, "paradox!" diff --git a/spec/features/line_number_spec.cr b/spec/features/line_number_spec.cr index ba273cf..c847985 100644 --- a/spec/features/line_number_spec.cr +++ b/spec/features/line_number_spec.cr @@ -1,6 +1,6 @@ require "../spec_helper" -Spectator.describe Spectator do +Spectator.describe Spectator, :smoke do let(current_example) { ::Spectator::Example.current } subject(location) { current_example.location } diff --git a/spec/features/metadata_spec.cr b/spec/features/metadata_spec.cr index 08f7756..33f3f50 100644 --- a/spec/features/metadata_spec.cr +++ b/spec/features/metadata_spec.cr @@ -1,6 +1,6 @@ require "../spec_helper" -Spectator.describe "Spec metadata" do +Spectator.describe "Spec metadata", :smoke do let(interpolation) { "string interpolation" } it "supports #{interpolation}" do |example| diff --git a/spec/features/subject_spec.cr b/spec/features/subject_spec.cr index 42436ea..a4380b2 100644 --- a/spec/features/subject_spec.cr +++ b/spec/features/subject_spec.cr @@ -4,7 +4,7 @@ class Base; end module SomeModule; end -Spectator.describe "Subject" do +Spectator.describe "Subject", :smoke do subject { Base.new } context "nested" do diff --git a/spec/spectator/dsl/mocks/double_spec.cr b/spec/spectator/dsl/mocks/double_spec.cr index 707714e..1369368 100644 --- a/spec/spectator/dsl/mocks/double_spec.cr +++ b/spec/spectator/dsl/mocks/double_spec.cr @@ -1,6 +1,6 @@ require "../../../spec_helper" -Spectator.describe "Double DSL" do +Spectator.describe "Double DSL", :smoke do context "specifying methods as keyword args" do double(:test, foo: "foobar", bar: 42) subject(dbl) { double(:test) } diff --git a/spec/spectator/dsl/mocks/stub_spec.cr b/spec/spectator/dsl/mocks/stub_spec.cr index 586a1b9..545871a 100644 --- a/spec/spectator/dsl/mocks/stub_spec.cr +++ b/spec/spectator/dsl/mocks/stub_spec.cr @@ -1,6 +1,6 @@ require "../../../spec_helper" -Spectator.describe "Stub DSL" do +Spectator.describe "Stub DSL", :smoke do double(:foobar, foo: 42, bar: "baz") do stub abstract def other : String stub abstract def null : Nil