Commit Graph

158 Commits (f6376e8a313a43cdcb4a7429e84353c5d86364f7)

Author SHA1 Message Date
Anatoly Scheglov f6376e8a31 add the 'require' package 2014-07-16 17:30:01 +04:00
Mat Ryer b641a3539b Merge pull request #65 from obeattie/master
Add prominent links to the API docs in README
2014-07-10 10:37:59 -06:00
Mat Ryer da6c3ee82f Merge pull request #66 from bhenderson/master
Implement InDelta() and InEpsilon()
2014-07-10 10:37:35 -06:00
bhenderson 0241e55b78 Add to forward_assertions and fix docs. 2014-07-10 09:31:54 -07:00
bhenderson d0803a1a3a Revert "Add InDelta() and InEpsilon() to docs and remove doc duplication."
This reverts commit d8398675f9.
2014-07-10 09:27:48 -07:00
bhenderson d8398675f9 Add InDelta() and InEpsilon() to docs and remove doc duplication. 2014-07-10 09:26:13 -07:00
bhenderson 256f07baef Refactor InEpsilon() to use InDelta(). 2014-07-10 09:12:30 -07:00
bhenderson 60a27ebea6 Add InEpsilon(). 2014-07-10 08:58:49 -07:00
bhenderson 3b602c6e81 Add InDelta() for comparing floats. 2014-07-10 08:49:17 -07:00
Oliver Beattie 71e8fdcc38 Add prominent links to the API docs in README
Section headings in the README now link to the API documentation on godoc.org
2014-07-09 10:09:52 +01: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