It("should report the end of the suite", func() { Ω(reporter1.EndSummary.SuiteDescription).Should(Equal("description")) Ω(reporter1.EndSummary.SuiteSucceeded).Should(BeFalse()) Ω(reporter1.EndSummary.SuiteID).Should(MatchRegexp("[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}")) Ω(reporter1.EndSummary.NumberOfSpecsBeforeParallelization).Should(Equal(6)) Ω(reporter1.EndSummary.NumberOfTotalSpecs).Should(Equal(6)) Ω(reporter1.EndSummary.NumberOfSpecsThatWillBeRun).Should(Equal(3)) Ω(reporter1.EndSummary.NumberOfPendingSpecs).Should(Equal(2)) Ω(reporter1.EndSummary.NumberOfSkippedSpecs).Should(Equal(1)) Ω(reporter1.EndSummary.NumberOfPassedSpecs).Should(Equal(2)) Ω(reporter1.EndSummary.NumberOfFailedSpecs).Should(Equal(1)) }) Context("when told to perform a dry run", func() { BeforeEach(func() { conf.DryRun = true }) It("should report to the reporters", func() { Ω(reporter1.Config).Should(Equal(reporter2.Config)) Ω(reporter1.BeforeSuiteSummary).Should(Equal(reporter2.BeforeSuiteSummary)) Ω(reporter1.BeginSummary).Should(Equal(reporter2.BeginSummary)) Ω(reporter1.SpecWillRunSummaries).Should(Equal(reporter2.SpecWillRunSummaries)) Ω(reporter1.SpecSummaries).Should(Equal(reporter2.SpecSummaries)) Ω(reporter1.AfterSuiteSummary).Should(Equal(reporter2.AfterSuiteSummary)) Ω(reporter1.EndSummary).Should(Equal(reporter2.EndSummary)) }) It("should not actually run anything", func() { Ω(thingsThatRan).Should(BeEmpty()) })