<commit_before>homepage: http://www.yesodweb.com
changelog-type: markdown
hash: 887976af61bd9d5d81c02e8fec2100a0d26133fc6fa5b3974f300843301422f4
test-bench-deps:
  bytestring: -any
  yesod-test: -any
  wai: -any
  xml-conduit: -any
  yesod-core: -any
  base: -any
  hspec: -any
  text: -any
  lifted-base: -any
  html-conduit: -any
  HUnit: -any
  containers: -any
  yesod-form: -any
  http-types: -any
maintainer: <NAME>, <NAME>, Nubis <<EMAIL>>
synopsis: integration testing for WAI/Yesod Applications
changelog: ! "## 1.5.6\n\n* Add assertNotEq.\n[#1375](https://github.com/yesodweb/yesod/pull/1375)\n\n##
  1.5.5\n\n* Fix warnings\n\n## 1.5.4.1\n\n* Compilation fix for GHC 7.8\n\n## 1.5.4\n\n*
  yesod-test: add getLocation test helper. [#1314](https://github.com/yesodweb/yesod/pull/1314)\n\n##
  1.5.3\n\n* Added bodyNotContains [#1271](https://github.com/yesodweb/yesod/pull/1271)\n\n##
  1.5.2\n\n* Added assertEq, deprecated assertEqual [#1259](https://github.com/yesodweb/yesod/pull/1259)\n\n##
  1.5.1.1\n\n* Fix `addToken_` needing a trailing space and allows multiples spaces
  in css selector.\n\n## 1.5.1.0\n\n* Better error provenance for stuff invoking withResponse'
  [#1191](https://github.com/yesodweb/yesod/pull/1191)\n\n## 1.5.0.1\n\n* Fixed the
  `application/x-www-form-urlencoded` header being added to all requests, even those
  sending a binary POST body [#1064](https://github.com/yesodweb/yesod/pull/1064/files)\n\t*
  The `application/x-www-form-urlencoded` Content-Type header is now only added if
  key-value POST parameters are added\n\t* If no key-values pairs are added, or the
  request body is set with `setRequestBody`, no default Content-Type header is set\n\n##
  1.5\n\n* remove deprecated addNonce functions\n* You can now configure testing middleware\n\nConfiguring
  middleware makes it easy to add logging among other things.\nmiddleware is applied
  to the wai app before each test.\n\nIf you follow the yesod scaffold, you probably
  have a\nwithApp function in TestImport.hs.\nThis function should now return (foundation,
  middleware).\n`id` is an acceptable value for middleware.\n\n\n## 1.4.4\n\ntest
  helpers for CRSF middleware such as addTokenFromCookie\n\n## 1.4.3.2\n\n* Add `addTokenFromCookie`
  and `addTokenFromCookieNamedToHeaderNamed`, which support the new CSRF token middleware
  [#1058](https://github.com/yesodweb/yesod/pull/1058)\n* Add `getRequestCookies`,
  which returns the cookies from the most recent request [#1058](https://github.com/yesodweb/yesod/pull/1058)\n\n##
  1.4.3.1\n\n* Improved README\n\n## 1.4.2\n\nProvide `Example` instance for `YesodExample`.\n\n##
  1.4.1.1\n\nUpgrade to hspec 2\n"
basic-deps:
  cookie: -any
  bytestring: ! '>=0.9'
  wai: ! '>=3.0'
  case-insensitive: ! '>=0.2'
  xml-conduit: ! '>=1.0'
  yesod-core: ! '>=1.4.14'
  base: ! '>=4.3 && <5'
  time: -any
  blaze-markup: ! '>=0.5.1'
  persistent: ! '>=1.0'
  text: -any
  hspec-core: ==2.*
  monad-control: -any
  network: ! '>=2.2'
  html-conduit: ! '>=0.1'
  HUnit: ! '>=1.2'
  containers: -any
  blaze-builder: -any
  xml-types: ! '>=0.3'
  blaze-html: ! '>=0.5'
  pretty-show: ! '>=1.6'
  attoparsec: ! '>=0.10'
  wai-extra: -any
  transformers: ! '>=0.2.2'
  http-types: ! '>=0.7'
all-versions:
- '0.1'
- '0.2.0'
- '0.2.0.1'
- '0.2.0.2'
- '0.2.0.3'
- '0.2.0.4'
- '0.2.0.5'
- '0.2.0.6'
- '0.2.1'
- '0.3.0'
- '0.3.0.1'
- '0.3.1'
- '0.3.1.1'
- '0.3.2'
- '0.3.3'
- '0.3.3.1'
- '0.3.3.2'
- '0.3.4'
- '0.3.5'
- '1.2.0'
- '1.2.1'
- '1.2.1.1'
- '1.2.1.2'
- '1.2.1.3'
- '1.2.1.4'
- '1.2.1.5'
- '1.2.2'
- '1.2.3'
- '1.2.3.1'
- '1.2.3.2'
- '1.2.4'
- '1.2.5'
- '1.2.6'
- '1.4.0'
- '1.4.0.1'
- '1.4.0.2'
- '1.4.0.3'
- '1.4.1'
- '1.4.1.1'
- '1.4.2'
- '1.4.2.1'
- '1.4.2.2'
- '1.4.3'
- '1.4.3.1'
- '1.4.4'
- '1.5'
- '1.5.0.1'
- '1.5.1.0'
- '1.5.1.1'
- '1.5.2'
- '1.5.3'
- '1.5.4'
- '1.5.4.1'
- '1.5.5'
- '1.5.6'
author: Nubis <<EMAIL>>
latest: '1.5.6'
description-type: markdown
description: ! "# yesod-test\r\n\r\nPragmatic integration tests for haskell web applications
  using WAI and optionally a database (Persistent).\r\n\r\nIts main goal is to encourage
  integration and system testing of web applications by making everything *easy to
  test*. \r\n\r\nYour tests are like browser sessions that keep track of cookies and
  the last\r\nvisited page. You can perform assertions on the content of HTML responses\r\nusing
  CSS selectors.\r\n\r\nYou can also easily build requests using forms present in
  the current page.\r\nThis is very useful for testing web applications built in yesod
  for example,\r\nwhere your forms may have field names generated by the framework<commit_msg>Update from Hackage at 2017-06-22T17:12:52Z<commit_after>homepage: http://www.yesodweb.com
changelog-type: markdown
hash: f804a28c02254e2a1da42eee12640941303a6a804fe7c5e14dce91b9593ed7a8
test-bench-deps:
  bytestring: -any
  yesod-test: -any
  wai: -any
  xml-conduit: -any
  yesod-core: -any
  base: -any
  hspec: -any
  text: -any
  lifted-base: -any
  html-conduit: -any
  HUnit: -any
  containers: -any
  yesod-form: -any
  http-types: -any
maintainer: <NAME>, <NAME>, Nubis <<EMAIL>>
synopsis: integration testing for WAI/Yesod Applications
changelog: ! "## 1.5.7\n\n* Add clickOn.\n[#1408](https://github.com/yesodweb/yesod/pull/1408)\n\n##
  1.5.6\n\n* Add assertNotEq.\n[#1375](https://github.com/yesodweb/yesod/pull/1375)\n\n##
  1.5.5\n\n* Fix warnings\n\n## 1.5.4.1\n\n* Compilation fix for GHC 7.8\n\n## 1.5.4\n\n*
  yesod-test: add getLocation test helper. [#1314](https://github.com/yesodweb/yesod/pull/1314)\n\n##
  1.5.3\n\n* Added bodyNotContains [#1271](https://github.com/yesodweb/yesod/pull/1271)\n\n##
  1.5.2\n\n* Added assertEq, deprecated assertEqual [#1259](https://github.com/yesodweb/yesod/pull/1259)\n\n##
  1.5.1.1\n\n* Fix `addToken_` needing a trailing space and allows multiples spaces
  in css selector.\n\n## 1.5.1.0\n\n* Better error provenance for stuff invoking withResponse'
  [#1191](https://github.com/yesodweb/yesod/pull/1191)\n\n## 1.5.0.1\n\n* Fixed the
  `application/x-www-form-urlencoded` header being added to all requests, even those
  sending a binary POST body [#1064](https://github.com/yesodweb/yesod/pull/1064/files)\n\t*
  The `application/x-www-form-urlencoded` Content-Type header is now only added if
  key-value POST parameters are added\n\t* If no key-values pairs are added, or the
  request body is set with `setRequestBody`, no default Content-Type header is set\n\n##
  1.5\n\n* remove deprecated addNonce functions\n* You can now configure testing middleware\n\nConfiguring
  middleware makes it easy to add logging among other things.\nmiddleware is applied
  to the wai app before each test.\n\nIf you follow the yesod scaffold, you probably
  have a\nwithApp function in TestImport.hs.\nThis function should now return (foundation,
  middleware).\n`id` is an acceptable value for middleware.\n\n\n## 1.4.4\n\ntest
  helpers for CRSF middleware such as addTokenFromCookie\n\n## 1.4.3.2\n\n* Add `addTokenFromCookie`
  and `addTokenFromCookieNamedToHeaderNamed`, which support the new CSRF token middleware
  [#1058](https://github.com/yesodweb/yesod/pull/1058)\n* Add `getRequestCookies`,
  which returns the cookies from the most recent request [#1058](https://github.com/yesodweb/yesod/pull/1058)\n\n##
  1.4.3.1\n\n* Improved README\n\n## 1.4.2\n\nProvide `Example` instance for `YesodExample`.\n\n##
  1.4.1.1\n\nUpgrade to hspec 2\n"
basic-deps:
  cookie: -any
  bytestring: ! '>=0.9'
  wai: ! '>=3.0'
  case-insensitive: ! '>=0.2'
  xml-conduit: ! '>=1.0'
  yesod-core: ! '>=1.4.14'
  base: ! '>=4.3 && <5'
  time: -any
  blaze-markup: ! '>=0.5.1'
  persistent: ! '>=1.0'
  text: -any
  hspec-core: ==2.*
  monad-control: -any
  network: ! '>=2.2'
  html-conduit: ! '>=0.1'
  HUnit: ! '>=1.2'
  containers: -any
  blaze-builder: -any
  xml-types: ! '>=0.3'
  blaze-html: ! '>=0.5'
  pretty-show: ! '>=1.6'
  attoparsec: ! '>=0.10'
  wai-extra: -any
  transformers: ! '>=0.2.2'
  http-types: ! '>=0.7'
all-versions:
- '0.1'
- '0.2.0'
- '0.2.0.1'
- '0.2.0.2'
- '0.2.0.3'
- '0.2.0.4'
- '0.2.0.5'
- '0.2.0.6'
- '0.2.1'
- '0.3.0'
- '0.3.0.1'
- '0.3.1'
- '0.3.1.1'
- '0.3.2'
- '0.3.3'
- '0.3.3.1'
- '0.3.3.2'
- '0.3.4'
- '0.3.5'
- '1.2.0'
- '1.2.1'
- '1.2.1.1'
- '1.2.1.2'
- '1.2.1.3'
- '1.2.1.4'
- '1.2.1.5'
- '1.2.2'
- '1.2.3'
- '1.2.3.1'
- '1.2.3.2'
- '1.2.4'
- '1.2.5'
- '1.2.6'
- '1.4.0'
- '1.4.0.1'
- '1.4.0.2'
- '1.4.0.3'
- '1.4.1'
- '1.4.1.1'
- '1.4.2'
- '1.4.2.1'
- '1.4.2.2'
- '1.4.3'
- '1.4.3.1'
- '1.4.4'
- '1.5'
- '1.5.0.1'
- '1.5.1.0'
- '1.5.1.1'
- '1.5.2'
- '1.5.3'
- '1.5.4'
- '1.5.4.1'
- '1.5.5'
- '1.5.6'
- '1.5.7'
author: Nubis <<EMAIL>>
latest: '1.5.7'
description-type: markdown
description: ! "# yesod-test\r\n\r\nPragmatic integration tests for haskell web applications
  using WAI and optionally a database (Persistent).\r\n\r\nIts main goal is to encourage
  integration and system testing of web applications by making everything *easy to
  test*. \r\n\r\nYour tests are like browser sessions that keep track of cookies and
  the last\r\nvisited page. You can perform assertions on the content of HTML responses\r\nusing
  CSS selectors.\r\n\r\nYou can also easily build requests using forms present in
  the current page.\r\nThis is very useful for testing web applications built in yesod
  for example,\r\nwhere your forms may have field names generated by the framework
{'fraction_non_alphanumeric': 0.19453307806849607, 'fraction_numerical': 0.08710912571793235, 'mean_word_length': 2.9944774851316907, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 49, 'https://': 17, 'lorem ipsum': 0, 'www.': 6, 'xml': 6}, 'pii_count': 70, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1047468', 'n_tokens_mistral': 4429, 'n_tokens_neox': 4245, 'n_words': 925}