Project

General

Profile

Actions

Feature #13748

closed

Add initial javascript testing

Added by Daniel Lobato Garcia almost 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Tests
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Since our code base contains a good amount of javascript (4633 LOC in 76 files), we need some testing framework to ensure we do not get regressions on this code. Integration tests are slow to write and to execute, and hopefully unit testing our javascript code will make it more readable too.

Jasmine is a good testing framework with a great plugin ecosystem and widely used in other projects for this same use case (Rails + js).


Related issues 1 (1 open0 closed)

Related to Foreman - Refactor #16601: Cover spinner fields with testsNew09/19/2016Actions
Actions #1

Updated by The Foreman Bot almost 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3195 added
Actions #2

Updated by Dominic Cleal over 8 years ago

  • Status changed from Ready For Testing to New
  • Assignee deleted (Daniel Lobato Garcia)
  • Pull request deleted (https://github.com/theforeman/foreman/pull/3195)

PR was closed, resetting ticket.

Actions #3

Updated by The Foreman Bot over 8 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Daniel Lobato Garcia
  • Pull request https://github.com/theforeman/foreman/pull/3829 added
Actions #4

Updated by Daniel Lobato Garcia over 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #5

Updated by Dominic Cleal over 8 years ago

  • Translation missing: en.field_release set to 189
Actions #6

Updated by Marek Hulán over 8 years ago

Actions #7

Updated by Daniel Lobato Garcia about 8 years ago

  • Target version set to 1.5.2
Actions

Also available in: Atom PDF