Coder Social home page Coder Social logo

sascalendarservice's Introduction

SASCalendarService

Takes a "sascalendar" url and parses the location and summary fields.

Contributors

  • Rick van Lieshout
  • Wilko Zonnenberg

Running the project

The project includes a makefile with a couple of commands:

Command result
run Starts the application with dynamic compilation
prod Starts the application without dynamic compilation
test Runs the tests

Adding a new route

Declare a route in "conf/routes", make sure to follow the following convention: GET /route controllers.Controller.Method

Create the controller in the folder app/controllers using the following stub:

package controllers

import play.api.mvc._
import models.AgendaItem

class FirstController extends Controller {
    def firstMethod = Action {
        Ok("Woohoo! it works!")
    }
}

#Scoverage

How to use

Make sure your sbt version in project/build.properties is set correctly:

sbt.version = 0.13.13

Add the plugin in project/plugins.sbt:

addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.0")

Run the tests with coverage:

$ sbt clean coverage test

or if you have integration tests as well

$ sbt clean coverage it:test

To generate the coverage report run

$ sbt coverageReport

Coverage reports will be in target/scoverage-report. There are HTML and XML reports. The XML is useful if you need to programatically use the results, or if you're writing a tool.

If you're running the coverage reports from within an sbt console session (as opposed to one command per sbt launch), then the coverage command is sticky. To turn it back off when you're done running reports, use the coverageOff command or reset coverageEnabled with set coverageEnabled := false.

sascalendarservice's People

Contributors

mastermindzh avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.