Skip to content

Commit

Permalink
Replace tasty with hspec (#4)
Browse files Browse the repository at this point in the history
* Correct CHANGELOG.md reference in package.yaml

* Add myself to contributors

* Add .editorconfig file

* hspecify

* ditch deps

* readme, changelog, version
  • Loading branch information
parsonsmatt committed May 11, 2018
1 parent 3f76051 commit 8538efa
Show file tree
Hide file tree
Showing 31 changed files with 1,558 additions and 1,839 deletions.
19 changes: 19 additions & 0 deletions .editorconfig
@@ -0,0 +1,19 @@
# http://editorconfig.org
root = true

[Makefile]
indent_style = tabs
indent_size = 8
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.{hs,md,yml,yaml}]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 80
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,7 @@
# 0.1.5

- Change the test suite from `tasty` to `hspec`

# 0.1.2

Switch around the the hex parser exercise. There are now two exercises:
Expand Down
5 changes: 5 additions & 0 deletions README.md
Expand Up @@ -18,6 +18,11 @@ Exercises are annotated with a comment containing the word "Exercise." The exist

The exercises are designed in a way that requires personal guidance, so if you attempt it on your own and feel a little lost, this is normal. All the instructions are not contained herein.

#### Differences from the Original

- We officially support the `stack` build tool.
- The test suite is converted from `tasty` to `hspec`.

### Getting Help

There are two mailing lists for asking questions. All questions are welcome,
Expand Down
3 changes: 3 additions & 0 deletions etc/CONTRIBUTORS
Expand Up @@ -43,3 +43,6 @@ james@earldouglas.com

Eric Torreborre
etorreborre@yahoo.com

Matt Parsons
parsonsmatt@gmail.com
18 changes: 8 additions & 10 deletions package.yaml
@@ -1,5 +1,5 @@
name: course
version: '0.1.4'
version: 0.1.5
synopsis: Source code for a functional programming course
description: Source code for a course in functional programming using Haskell
category: Education
Expand All @@ -16,15 +16,15 @@ copyright: ! 'Copyright (C) 2010-2013 Tony Morris
Copyright (C) 2016-2017 Data61'
license: BSD3
license-file: etc/LICENCE
homepage: https://github.com/data61/fp-course
git: git@github.com:data61/fp-course.git
bug-reports: https://github.com/data61/fp-course/issues
homepage: https://github.com/bitemyapp/fp-course
git: git@github.com:bitemyapp/fp-course.git
bug-reports: https://github.com/bitemyapp/fp-course/issues

tested-with: GHC==8.0.2

extra-source-files:
- etc/CONTRIBUTORS
- changelog
- CHANGELOG.md

ghc-options: -Wall

Expand Down Expand Up @@ -80,15 +80,13 @@ library:

tests:
course-tests:
main: TastyLoader.hs
main: Spec.hs
source-dirs: test
ghc-options:
- -threaded
dependencies:
- base <5 && >=3
- course
- HUnit >=1.5
- hspec
- hspec-discover
- QuickCheck >=2.9
- tasty >=0.11
- tasty-hunit >=0.9
- tasty-quickcheck >=0.8

0 comments on commit 8538efa

Please sign in to comment.