{"id":16173317,"url":"https://github.com/rija/tdd-vuejs-frontend-webpack","last_synced_at":"2026-01-15T22:37:33.649Z","repository":{"id":43433617,"uuid":"228148906","full_name":"rija/tdd-vuejs-frontend-webpack","owner":"rija","description":"Example/Boiler-plate for a TDD-ed VueJS frontend to webapps  Using vuejs's Single File Components, webpack, karma, jasmine","archived":false,"fork":false,"pushed_at":"2023-03-01T02:42:14.000Z","size":772,"stargazers_count":0,"open_issues_count":19,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-08T02:25:51.802Z","etag":null,"topics":["boiler-plate","jasmine","javascript","karma","tdd","vuejs-frontend","webpack"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rija.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-15T07:55:25.000Z","updated_at":"2022-02-14T09:24:06.000Z","dependencies_parsed_at":"2024-10-27T19:20:27.729Z","dependency_job_id":"9bee8357-959b-4020-ab94-651d908880a6","html_url":"https://github.com/rija/tdd-vuejs-frontend-webpack","commit_stats":{"total_commits":43,"total_committers":2,"mean_commits":21.5,"dds":"0.13953488372093026","last_synced_commit":"fd26d40fba2007f9ee29cf7eccf6fc1cc8515a13"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rija%2Ftdd-vuejs-frontend-webpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rija%2Ftdd-vuejs-frontend-webpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rija%2Ftdd-vuejs-frontend-webpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rija%2Ftdd-vuejs-frontend-webpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rija","download_url":"https://codeload.github.com/rija/tdd-vuejs-frontend-webpack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246803498,"owners_count":20836578,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["boiler-plate","jasmine","javascript","karma","tdd","vuejs-frontend","webpack"],"created_at":"2024-10-10T04:08:17.779Z","updated_at":"2026-01-15T22:37:33.618Z","avatar_url":"https://github.com/rija.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/rija/tdd-vuejs-frontend-webpack.svg?branch=master)](https://travis-ci.org/rija/tdd-vuejs-frontend-webpack)\n\n# Example/Boiler-plate for a TDD-ed VueJS frontend to webapps\n\nUsing Vuejs's Single File Components, Webpack, Karma, Jasmine\n\n## Get started\n\n**prerequisites:** NodeJS, Chrome, Firefox\n\n```\n$ npm install\n```\n\n## Build the app\n\n```\n$ npm run build\n```\n\n## Running the tests\n\nOn one terminal window/tab, start the Karma server:\n\n```\n$ npx cross-env BABEL_ENV=test karma start\n```\n\nNormally, the test suite will run whenever the code changes, but if one wants to trigger an explicit test run, this is the command to type:\n```\n$ npm test\n```\n\nIf starting a server is not desirable (e.g: CI), this one-off command will run the tests in a standalone fashion:\n\n```\n$ npx cross-env BABEL_ENV=test karma start --single-run\n```\n\n## Background\n\nInspired by the examples from VueJS docs and the boilerplate Github repo made by Edd Yerburgh to test VueJS app with Karma/Mocha/Chai: [vue-test-utils-karma-example](https://github.com/eddyerburgh/vue-test-utils-karma-example)\n\n_**Note**: Whose book can be found here:[Testing Vue.js Applications](https://www.manning.com/books/testing-vue-js-applications)_\n\n\nI wanted to create a skeleton project that works in 2019 for the _\"Future me\"_ whenever I need to spin off a VueJS project to test with Jasmine while learning how to use these tools together.\n\n\nThis is a follow up to my single web page CodePen example for testing a VueJS app using Jasmine: \n[VueJS Unit testing with Jasmine](https://codepen.io/rija/pen/yLyJYEq)\n\n## TODO\n\n* [ ] Fix coverage\n* [ ] Add Safari to the list of browsers\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frija%2Ftdd-vuejs-frontend-webpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frija%2Ftdd-vuejs-frontend-webpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frija%2Ftdd-vuejs-frontend-webpack/lists"}