packages feed

webdriver-angular-0.1.7: webdriver-angular.cabal

name:              webdriver-angular
version:           0.1.7
cabal-version:     >= 1.8
build-type:        Simple
synopsis:          Webdriver actions to assist with testing a webpage which uses Angular.Js
category:          Web
author:            John Lenz <lenz@math.uic.edu>
maintainer:        John Lenz <lenz@math.uic.edu>
license:           MIT
license-file:      LICENSE
homepage:          https://bitbucket.org/wuzzeb/webdriver-utils
stability:         Experimental
description:       For end to end testing of web applications from Haskell, the 
                   <https://hackage.haskell.org/package/webdriver webdriver> package is a great tool but
                   does not provide specific commands to make testing a webpage using 
                   <http://angularjs.org/ AngularJS> easier.  The 
                   <https://github.com/angular/protractor protractor> project provides Angular-specific
                   webdriver commands but the test code must be written in javascript.  This package
                   fills the gap by reusing some of the protractor code to allow end to end tests of Angular
                   applications to be written in Haskell.

extra-source-files: js/*.js,
                    README.md,
                    test/*.hs,
                    test/www/*.html,
                    test/www/*.js

source-repository head
    type: mercurial
    location: https://bitbucket.org/wuzzeb/webdriver-utils

library
    hs-source-dirs:  src

    exposed-modules: Test.WebDriver.Commands.Angular

    other-modules:   Test.WebDriver.Commands.Internal

    ghc-options:   -Wall -O2

    build-depends: base                 >= 4          && < 5

                 , webdriver            >= 0.6  && < 0.7
                 , aeson                >= 0.6
                 , language-javascript  >= 0.5  && < 0.6
                 , template-haskell     >= 0.6
                 , text                 >= 0.11
                 , transformers         >= 0.3
                 , unordered-containers >= 0.2

test-suite test
    type:            exitcode-stdio-1.0
    main-is:         main.hs
    hs-source-dirs:  test
    ghc-options:     -Wall

    build-depends: base >= 4 && < 5
                 , hspec >= 1.8
                 , hspec-webdriver >= 0.2 && < 1.1
                 , transformers
                 , wai-app-static >= 2.0
                 , warp >= 2.0
                 , webdriver
                 , webdriver-angular