Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
js-frontend-tutorial js-frontend-tutorial
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ci-general
  • js-frontend-tutorialjs-frontend-tutorial
  • Wiki
  • Configure unit tests on local machine

Configure unit tests on local machine · Changes

Page history
Update Configure unit tests on local machine authored Jul 11, 2019 by Taras Gaidukov's avatar Taras Gaidukov
Hide whitespace changes
Inline Side-by-side
Showing with 15 additions and 0 deletions
+15 -0
  • Configure-unit-tests-on-local-machine.md Configure-unit-tests-on-local-machine.md +15 -0
  • No files found.
Configure-unit-tests-on-local-machine.md
View page @ 3ee4d195
......@@ -75,4 +75,19 @@ module.exports = config => {
```
npm run test
```
If all tests passed successfully the result will be like this:
```
> js-frontend-tutorial@1.0.0 test /home/taras/Work/js-frontend-tutorial
> karma start karma.conf.js
11 07 2019 15:55:05.564:WARN [karma]: No captured browser, open http://localhost:9876/
11 07 2019 15:55:05.594:INFO [karma-server]: Karma v4.1.0 server started at http://0.0.0.0:9876/
11 07 2019 15:55:05.594:INFO [launcher]: Launching browsers Chrome with concurrency unlimited
11 07 2019 15:55:05.597:INFO [launcher]: Starting browser Chrome
11 07 2019 15:55:06.306:INFO [Chrome 75.0.3770 (Linux 0.0.0)]: Connected on socket GUGUy_LN38B9XT73AAAA with id 21718560
Chrome 75.0.3770 (Linux 0.0.0): Executed 2 of 2 SUCCESS (0.002 secs / 0.001 secs)
TOTAL: 2 SUCCESS
```
\ No newline at end of file
Clone repository
  • A sample project
  • Build docker image
  • Configure GitLab CI
  • Configure e2e tests for gitlab runner
  • Configure e2e tests on local machine
  • Configure unit tests on local machine
  • Confirure unit tests for gitlab runner
  • Register gitlab runner
  • What is Continuous Integration
  • Home