Front End Testing and Continuous Integration
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

FE-CI (Front End Testing and Continuous Integration) Build Status Coverage Status

This repo demonstrates how to start a new project using best Test Driven Development techniques plus a CI workflow with code coverage support. The technologies, services and libraries used in this repo is CoffeeScript, Grunt, Jasmine, Karma, IstanbulJS, Coveralls and Travis.

The blog post currently in Turkish but I am planning to post another one in English soon.

Steps for getting the repository up and running

  • clone the repository and cd to repo directory
  • npm install
  • npm install -g grunt-cli
  • npm install -g grunt
  • grunt

Bu repo Front End gelistirme surecleri icin test ve CI entegrasyonlarini en iyi yontemlerle (best practice) yapmayi gosteren suradaki blog post'a aittir. Kodu daha iyi anlayabilmek icin blog post'u okumanizi tavsiye ederim.

Bu projede kullanilan teknoloji, library ve servisler ise Grunt, Jasmine, Karma Test Runner, IstanbulJS, ve Travis CI olacaktir.

Yapilacak islerin listesi ise su sekilde.

  • Modul yonetimi icin package.json'imizi olusturacagiz.
  • Task'larimizi yonetmek icin'imizi olusturacagiz.
  • Uygulamamiza ait kodlari yazacagiz.
  • JasmineJS ile uygulamamizin testlerini yazacagiz.
  • Testlerimizi calistirmak icin Karma Test Runner'i entegre edecegiz.
  • IstanbulJS kullanarak kod coverage raporumuzu elde edecegiz.
  • ile coverage durum ve gecmisimiz
  • Travis ile CI entegrasyonu saglamis olacagiz.

Repoyu clone'ladiktan sonra calistirmak icin

  • npm install
  • npm install -g grunt-cli
  • npm install -g grunt
  • grunt