Commit Graph

850 Commits (fix-1292-dep-cycle-with-objx)

Author SHA1 Message Date
Mat Ryer 6d984ec0a3 added simple package import example 2014-01-28 10:11:02 -07:00
Mat Ryer df4e46959f added test to prove different args 2014-01-28 09:56:42 -07:00
Mat Ryer a3ce369ac0 Merge pull request #32 from onsi/master
receive *testing.T via an interface
2014-01-28 08:45:01 -08:00
Onsi Fakhouri 59b459277c Define a TestingT interface in assertions.go and mock.go 2014-01-20 18:25:43 -08:00
Tyler 44d1c28acd Merge pull request #35 from chakrit/master
Make isEmpty() properly handles maps. [fix #34]
2014-01-18 20:19:42 -08:00
Chakrit Wichian f51780437f Make isEmpty() properly handles maps. [fix #34] 2014-01-19 10:30:16 +07:00
Mat Ryer 18d938d6c5 Merge pull request #28 from maraino/master
Fix support for AnythingOfTypeArgument.
2013-12-17 13:15:24 -08:00
Mariano Cano 84b345c662 Fix support for AnythingOfTypeArgument. 2013-12-05 10:18:56 -08:00
Mat Ryer 4c55a02a9d Merge pull request #26 from stretchr/suite_doc_update
Updated README with a link to the suite package section
2013-10-30 12:43:23 -07:00
Samuel Nelson 3abb13a8ac Updated README with a link to the suite package section 2013-10-30 13:43:49 -06:00
Mat Ryer 9ea7840c54 Merge pull request #24 from stretchr/feature/testing-suite
Testing Suite (and setup/teardown) functionality
2013-10-30 12:33:30 -07:00
Mat Ryer afe1438080 Merge pull request #23 from realistschuckle/master
Added Repeatability Statements to Expectations
2013-10-29 13:13:26 -07:00
Samuel Nelson 049f306907 Merge remote-tracking branch 'origin/master' into feature/testing-suite
Pulling latest changes to testify into the feature/testing-suite branch,
since I'm using the feature/testing-suite branch for production code and
want to make sure I'm also using all of the latest changes from master.
2013-10-23 13:19:29 -06:00
Samuel Nelson 46e05f3e57 Removing unnecessary defer (the call was already at the end of the function it was in
)
2013-10-15 12:02:07 -06:00
Samuel Nelson c737e6cc4e Some clarification for the documentation in the example test suite. 2013-10-15 11:56:36 -06:00
Samuel Nelson cf79884357 One more documentation update for suites 2013-10-15 11:46:59 -06:00
Samuel Nelson 2d29e774c7 Updated documentation with some information about testing suites 2013-10-15 11:35:37 -06:00
Samuel Nelson 11dce72087 Renamed before/after methods and interfaces to setup/teardown 2013-10-15 10:32:35 -06:00
Sam Nelson a4c24896e3 Initial buildup/teardown functionality for issue 19 2013-10-14 15:13:28 -06:00
Tyler Bunnell a4c09999de WrittenHeaderInt->StatusCode 2013-10-14 11:51:42 -06:00
Curtis Schlak ab70c9a56c Now expectations for method calls abides the repeatability argument. 2013-10-04 23:19:54 -05:00
Curtis Schlak 40e4720477 Added repeatability to On/Return expectations. 2013-10-04 23:15:50 -05:00
Mat Ryer 2b887b0d67 Merge pull request #22 from benbjohnson/fix-dependencies
Fix dependencies for 'go get'.
2013-09-26 09:09:53 -07:00
Ben Johnson a9851100fe Fix dependencies for 'go get'. 2013-09-26 10:03:30 -06:00
Mat Ryer ede833b00d Merge pull request #21 from viblo/feature-WithinDuration
Feature within duration
2013-09-17 15:55:42 -07:00
Tyler Bunnell 855b03c899 objx transition complete 2013-09-17 16:17:34 -06:00
Victor Blomqvist a1964c1081 expanded test for WithinDuration to test for negative durations 2013-09-12 13:53:27 +08:00
Victor Blomqvist ed409be48c expanded test for WithinDuration to test for both |a-b|>=dt and |b-a|>=dt 2013-09-12 13:37:44 +08:00
Victor Blomqvist 0378c681e8 added new assert WithinDuration 2013-09-12 13:24:50 +08:00
Mat Ryer 5f6413d60a added test round tripper 2013-08-09 13:38:30 -06:00
Mat Ryer ba887bba64 improved error message 2013-08-02 16:09:49 -06:00
Tyler a48cc5dabb gort->gorc 2013-08-01 13:43:37 -06:00
Mat Ryer 8cb5e40869 made Exactly not panic on nils 2013-07-18 09:42:16 -06:00
Tyler Bunnell 1e9c4b3ca7 Use new Fail method internally 2013-07-17 12:44:44 -06:00
Mat Ryer 3e51f38eaf added Fail and Exactly assertions 2013-07-17 12:15:39 -06:00
Mat Ryer c86070b46c updated licence 2013-07-01 15:55:55 -06:00
Tyler Bunnell f3d115a597 Remove unreachable code 2013-06-12 09:35:26 -06:00
Mat Ryer ae878dc5c4 repo name change 2013-06-11 22:44:58 -06:00
Mat Ryer d2a8d94721 Merge remote-tracking branch 'origin/issues/15' 2013-06-11 21:23:39 -06:00
matryer 4e4760bad4 Merge pull request #14 from jcelliott/master
Fix typo in doc.go and Fix panic in (Not)?Nil()
2013-06-05 11:09:19 -07:00
Mat Ryer 9aa77ca769 Fixes #15 - writes 200 header if no specific header has been written 2013-06-05 12:07:38 -06:00
Joshua Elliott d35afcda84 Don't panic when underlying type is not .IsNil()-able (eg. string) 2013-05-23 14:54:54 -06:00
Joshua Elliott 3df0bce8cb Fix typo in doc.go 2013-05-21 13:12:38 -06:00
Mat Ryer d6863491da fixed bug in String 2013-04-30 10:40:31 -06:00
Mat Ryer 87ce1d3239 added TestData to mocks 2013-04-30 10:35:18 -06:00
Tyler Bunnell 044591a481 go fmt 2013-03-31 09:56:37 -06:00
Tyler Bunnell 85763a0f23 Sprint->Sprintf 2013-03-31 09:42:14 -06:00
Tyler Bunnell cfc83347cf Remove unreachable code 2013-03-31 09:41:59 -06:00
Mat Ryer 841b040dd7 Revert "Fixes #13"
This reverts commit 9b28fe8965.
2012-12-04 13:11:45 -07:00
Mat Ryer 9b28fe8965 Fixes #13 2012-11-21 22:25:09 +00:00