Commit Graph

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

Author SHA1 Message Date
Josh Rendek d886ac2b4a fix spelling 2014-07-04 01:05:55 -04:00
Josh Rendek e3a8e43111 Update readme, make it more clear to use httptest
at first glance that we should use httptest
2014-07-04 01:04:09 -04:00
Tyler 5484d2a8ac Merge pull request #62 from dickeyxxx/readme
Readme
2014-07-01 09:50:47 -06:00
dickeyxxx 9eedabd0af added more complete second example 2014-07-01 08:49:02 -07:00
dickeyxxx 17a4bf61f0 added more complete first example 2014-07-01 08:48:35 -07:00
Tyler 8e57a8565a Merge pull request #61 from dickeyxxx/readme-syntax
allow github syntax highlighting
2014-07-01 09:47:21 -06:00
dickeyxxx 81cfe446ab allow github syntax highlighting 2014-07-01 08:43:26 -07:00
Tyler ce71e91e8d Merge pull request #60 from 2pi/EqualErrorWrapper
add wrapper around the `EqualError` function
2014-07-01 09:35:58 -06:00
2pi 7d4050544d add `EqualError` to doc.go
* Add both the standard `EqualError` and the wrapped `EqualError`
2014-07-01 14:55:26 +02:00
2pi 8515a19013 add wrapper around the `EqualError` function
* add a `*Assertions` wrapper around the `EqualError` function
* add tests
2014-07-01 13:29:33 +02:00
Tyler Bunnell 5c22de4a18 Merge branch 'taichi-add_compatible_assertion_struct' 2014-06-30 11:35:03 -06:00
Tyler Bunnell 459056d303 Merge forward assertions. 2014-06-30 11:34:00 -06:00
Tyler Bunnell 5cc789b89e Clean up golint warnings 2014-06-18 09:28:16 -06:00
Tyler Bunnell 37ec10ac14 Make empty tests pass
Fix #58
2014-06-18 09:21:09 -06:00
Tyler Bunnell d951608d14 Add test for empty ints 2014-06-18 09:20:40 -06:00
Tyler 57878a4c90 Merge pull request #57 from kavkaz/master
Clear staff
2014-06-16 10:06:50 -06:00
Zaur Abasmirzoev d68e894fba Clear staff 2014-06-16 20:06:15 +04:00
Tyler e298ddcc72 Merge pull request #56 from kavkaz/master
Specify the method of the test suite
2014-06-16 09:55:11 -06:00
Zaur Abasmirzoev 78cdc04039 Specify the method of the test suite 2014-06-16 19:50:34 +04:00
Tyler 3e03dde724 Merge pull request #54 from jbowes/master
Attempt type conversion in assert.Equal
2014-06-04 08:30:23 -06:00
James Bowes 21382c1202 Attempt type conversion in assert.Equal
If the two values being tested are of compatible types, convert one
value to the other's type before comparing them. This allows
`assert.Equal(int64(123), uint64(123))` to pass.
2014-06-03 19:01:48 -03:00
Tyler 410219ae82 Merge pull request #53 from kejadlen/patch-1
Use godoc instead of go.pkgdoc

Thanks for the fix!
2014-05-15 09:52:45 -06:00
Alpha Chen 65450415d0 Use godoc instead of go.pkgdoc 2014-05-13 14:12:54 -07:00
Mat Ryer 8eaef7fd24 Merge pull request #49 from seantalts/noerrormsg
Change NoError formatting. fixes #48
2014-04-25 08:23:39 -06:00
Tyler Bunnell d3d427864d Fix merge conflict 2014-04-22 10:01:40 -06:00
Tyler 84ae2f5461 Merge pull request #50 from mikereedell/master
Fixing issue 33

Looks good! Thanks!
2014-04-15 09:52:35 -06:00
mreedell 2c7459d4ba Fixing issue 33 2014-04-14 15:24:44 -04:00
Tyler 0d84e9b479 Merge pull request #47 from pietern/fix-assertcalled
Fix use of AnythingOfType with AssertCalled
2014-04-10 15:20:40 -06:00
Sean Talts c469b75615 Change NoError formatting. 2014-04-04 11:36:55 -04:00
Pieter Noordhuis 939e66beb2 Fix use of AnythingOfType with AssertCalled 2014-04-01 15:52:39 -07:00
Guncha 5114cbfc4a Fix #45: assert.Empty should work with channels 2014-03-31 19:10:48 -04:00
SATO taichi 7675c8d8af add more examples to README and doc.go. 2014-03-11 17:52:22 +09:00
taichi 52f556e421 Simplify the API by using the new assertion. 2014-03-11 16:39:56 +09:00
taichi e8eaa8ab7a add better API.
because current API is redundant because the pass every time testingT.
2014-03-11 16:38:25 +09:00
Mat Ryer 37614ac277 Merge pull request #44 from seantalts/suite_logging_fix
Add test for logging capture.
2014-03-10 23:42:52 -06:00
Sean Talts ec1a3f179c Remove debug print, go fmt my lines 2014-03-07 14:57:40 -05:00
Sean Talts 814eb1589b Add test for logging capture. 2014-03-07 14:51:52 -05:00
Mat Ryer 24fb97e3a8 Merge pull request #39 from xsleonard/exacterror
ExactError, asserts that err is not nil and its string matches
2014-03-07 11:27:35 -07:00
Mat Ryer 517a8fc353 Merge pull request #43 from seantalts/suite_logging_fix
Have testing.RunTests run the tests we find with their setup methods.
2014-03-07 11:26:55 -07:00
Sean Talts 72c1136caa Formatting, restore T after test is over just in case 2014-03-07 12:54:55 -05:00
Sean Talts 5739ba4d16 Have testing.RunTests run the tests we find with their setup methods. 2014-03-07 12:14:37 -05:00
Mat Ryer aff4bd8fb5 Merge pull request #42 from viblo/master
Rename the error argument from theError to err in Error asserts.
2014-03-07 09:43:49 -07:00
Victor Blomqvist 12fea7c16c Rename the error argument from theError to err in Error asserts. 2014-03-07 17:19:03 +08:00
Mat Ryer 6b8df2220f Update README.md 2014-03-06 16:04:07 -07:00
Steve Leonard e763434382 rename to EqualError 2014-02-15 15:06:23 -05:00
Steve Leonard 92af479c56 ExactError, asserts that err is not nil and its string matches 2014-02-15 12:24:39 -05:00
Tyler bd93f05fd7 Merge pull request #37 from rgarcia/custom-type-expectations 2014-02-10 14:04:13 -07:00
Rafael Garcia b222794f02 failing test for #31 2014-02-05 15:37:34 -08:00
Mat Ryer 9cc77fa253 Fixes #2 2014-01-28 10:18:27 -07:00
Mat Ryer 304892e553 deprecated TestResponseWriter 2014-01-28 10:15:59 -07:00