Commit Graph

42 Commits

Author SHA1 Message Date
Maximilian Tagher
51bdb66252 Fix Haddock syntax error and test failures introduced by #1459 2017-12-29 20:20:18 -05:00
pythonissam
80aa45cf18 Simply, create the exact version of byLabel 2017-11-26 07:22:25 +00:00
pythonissam
cab78b65c2 Add a failure test case for byLabel 2017-11-26 04:45:02 +00:00
Sebastián Estrella
0f28604cfe Reduce verbosity using Monadic Forms 2017-08-22 02:24:26 -05:00
Mark Wotton
7cd37db7c6 address review comments 2017-06-15 15:46:25 -04:00
Mark Wotton
ee9ef1eac5 add clickOn function (closes #1406) 2017-06-14 13:40:44 -04:00
Michael Snoyman
3dc2d10b30 Compile with -Wall -Werror 2017-02-05 12:09:18 +02:00
Jason Whittle
7b12f61a91 yesod-test: add getLocation test helper. 2016-11-30 18:05:48 -05:00
Maxime Bourget
6addf3923d Changes spec name and bump version to 1.5.1.1 2016-04-12 21:42:33 +01:00
Maxime Bourget
62fc67a444 Fix addToken_ needing a trailing space to work.
The fix can add spaces in place where none or only one where expected.
The css parser has been modified to remove trailing or multiple spaces.
This might be a bit more lax that official CSS spec.
2016-04-11 21:15:27 +01:00
Mark Wotton
ef00ddd80b test result value, return URL in Right branch, document meaning in haddocks 2016-03-21 17:16:28 -04:00
Mark Wotton
29c335af56 use Either rather than throwing an exception 2016-03-21 13:39:49 -04:00
Mark Wotton
62961ef931 fix exception test 2016-03-21 12:34:38 -04:00
Mark Wotton
df6834a335 add followRedirect 2016-03-21 12:13:23 -04:00
Maximilian Tagher
479a19e65a yesod-test: have request not default to the form-urlencoded Content-Type
* Only set the Content-Type to "application/x-www-form-urlencoded" if key-value pairs are added
* Previously the "application/x-www-form-urlencoded" Content-Type would be added even if you set a binary request body.
	* You could add your own Content-Type with addRequestHeader, but this resulted in multiple Content-Type headers.
* Closes #1063
2015-08-24 20:27:28 -07:00
Maximilian Tagher
374195b4fa Add functions to yesod-test to support the new CSRF middleware 2015-08-19 22:18:30 -07:00
Maximilian Tagher
94af9c6bdd Move yesod-test to using the term "token" instead of nonce.
Addresses part #1 of #914
2015-01-27 19:50:06 -08:00
Michael Snoyman
9ff2c243f2 Two more failing yesod-test cases.
Pinging @erikd.
2014-10-01 14:11:27 +03:00
Michael Snoyman
c8e2aaf2a8 Fix test 2014-09-30 13:37:10 +03:00
Michael Snoyman
4b85a66d93 Simpler demonstration of descendent selector bug 2014-09-30 13:34:32 +03:00
Michael Snoyman
9a9cab4365 Demonstrate bug in CSS parsing
Pinging @erikd. I think this problem was introduced in the new parser.
2014-09-30 13:31:44 +03:00
Michael Snoyman
e6eae8ee5a Merge remote-tracking branch 'origin/master' into yesod-1.4
Conflicts:
	yesod-routes/Yesod/Routes/Parse.hs
	yesod-routes/test/Hierarchy.hs
	yesod-routes/yesod-routes.cabal
2014-07-26 21:20:31 +03:00
Michael Snoyman
ef25c90e9b Handle labels containing inputs #759 2014-06-17 08:22:38 +03:00
Michael Snoyman
33c384bb4e yesod-test: use HTTP/1.1 2014-06-08 08:14:38 +03:00
Erik de Castro Lopo
90d639d413 yesod-test : Add simple tests for htmlCount/html*Contain. 2014-05-29 08:55:14 +10:00
Michael Snoyman
60526676e5 Encode empty paths correctly #730 2014-05-06 08:25:44 +03:00
Michael Snoyman
8c183d9cda Another fix for UTF8 paths 2014-04-27 11:21:43 +03:00
Michael Snoyman
bf3e8afefb Fix some character encoding bugs 2014-04-23 16:05:00 +03:00
Michael Snoyman
7a90a794d8 Expanded yesod-test testsuite 2013-04-03 11:50:00 +03:00
Michael Snoyman
51eb7d4ba2 RequestBuilder overhaul 2013-04-02 19:41:52 +03:00
Michael Snoyman
db53252960 yesod-test can use type-safe URLs 2013-04-02 17:29:09 +03:00
Michael Snoyman
ba8706429a Make yesod-test integrate better with hspec 2013-04-02 16:32:40 +03:00
Simon Hengel
ffcf7fbc5d yesod-test: Do not use Test.Hspec.Runner
Test.Hspec.Runner will export functions for monadic specs in the future
(Hspec >= 1.4).
2012-10-16 14:45:02 +02:00
Michael Snoyman
699d76d13a Merge branch 'beta'
Conflicts:
	yesod-core/yesod-core.cabal
	yesod-json/yesod-json.cabal
	yesod-test/Yesod/Test.hs
	yesod-test/test/main.hs
	yesod-test/yesod-test.cabal
2012-07-11 08:48:09 +03:00
Michael Snoyman
debbdc4aed Removed HtmlParse 2012-07-09 13:40:24 +03:00
Michael Snoyman
a0c26206e3 yesod-test uses hspec 1.2 as well 2012-06-30 22:17:49 +03:00
Michael Snoyman
ebc737a5cb conduit 0.5 2012-06-22 15:28:14 +03:00
Michael Snoyman
75b6173f7d Fixed all warnings, should finally build on Jenkins 2012-03-29 10:14:44 +02:00
Michael Snoyman
940c1dddcd Parse HTML to an XML document via xml-conduit 2012-03-28 08:43:36 +02:00
Michael Snoyman
5e068b32b7 Added some simple selector test cases 2012-03-28 08:18:19 +02:00
Michael Snoyman
0201415b05 Migrated yesod-test to attoparsec 2012-03-28 08:14:51 +02:00
Michael Snoyman
a3e27a3d57 Started yesod-test test suite (yo dawg...) 2012-03-28 08:03:47 +02:00