Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8767817
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T16:54:47+00:00 2026-06-13T16:54:47+00:00

While building a single page app with AngularJS, I’m trying to integrate Jasmine tests

  • 0

While building a single page app with AngularJS, I’m trying to integrate Jasmine tests in my build.

I did something similar before with the Maven Jasmine plugin, but I don’t like to wrap my project in maven just to run the Jasmine tests. It seems cleaner to use Karma (was Testacular) for this somehow.

I’m comfortable that I’ll get things running from a shell command, and my guess is that I can then run the command from Bamboo.

My questions:

  • Am I on the right track?
  • How can I best fail the build from a script, or does Bamboo recognize the Karma output automatically?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T16:54:49+00:00Added an answer on June 13, 2026 at 4:54 pm

    Great question. Make sure testacular.conf.js is configured to output junit xml for consumption by bamboo

    junitReporter = {
      // will be resolved to basePath (in the same way as files/exclude patterns)
      outputFile: 'test-results.xml'
    };
    

    You can configure Testacular to run against many browsers and is pre-configured to use Chrome, we’ve chosen to start going headless with PhantomJS to do unit testing. Testacular already has jasmine inside.

    For CI we are following the recommendation in

    // Continuous Integration mode
    // if true, it capture browsers, run tests and exit
    singleRun = true;
    

    If you use Ant a lot (and we do) sometimes you just want to stick with what you know… so you may want to checkout ANT, Windows and NodeJS Modules. to run node modules (ie testacular).

    One note, if you are running testacular on windows, the npm install of testacular fails on hiredis module, which seems to be just *nix friendly. So, far it works fine without it.

    It took us a couple of hours to prove all of this works. Hope this helps

    –dan

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While building several different projects in QtCreator, I have run across the following build
I've been spending the weekend learning Backbone.js and while building a simple app an
I have done simple java app for blackberry, while building am getting following error.
While trying to use Maven for building Android projects I recognized that the maven-android-plugin
I'm writing a little single page app (using knockout.js :-)) whereby i have a
I am building a single page web application and one the requirements are jQuery,
While building my CUDA project I get the following error: cutil_inline_runtime.h(328): error: identifier CURAND_STATUS_DOUBLE_PRECISION_REQUIRED
While building a JAR file (successfully) in Netbeans 7.1.1 , I encountered this warning:
I seem to have hit a snag while building my project using Ant. The
Unlike this question: Linker Error while building application using Boost Asio in Visual Studio

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.