Comments (5)
Thanks for pointing this out. I wasn't aware that jasmine.log even existed. If you'd consider adding support in a pull request, I'd be happy to pull it in.
In the meantime, I'd imagine most of the situations in which I'd want to log output, I'd be actively developing code, so I'd suggest doing that with the jasmine:bdd command & a browser (which presumably show the output).
from jasmine-maven-plugin.
Is there another way around it?
I currently have a test that runs green with jasmine:bdd in the browser but fails during mvn install. It uses sinon.js fakeTimers to alter the global Date object and I suspect that has something to do with it. But to investigate any further I'd really need to either debug or "poor man debug" with logging while the test runs outside the browser. If there's some easy way to get logging to work I could dig into it and try to find out what's going wrong.
from jasmine-maven-plugin.
@ivarni I'm probably not going to work on this issue anytime soon, but I'd recommend you try faking time differently. Maybe wrap Date in an abstraction you own and fake that abstraction, or use another time faking library like Timecop.js
from jasmine-maven-plugin.
Yes, that seems to work. I guess the problem is with sinon.js on HtmlUnitDriver but either way I'm happy to use Timecop and that removed my current need for logging. I'm just leaving this comment here in case other people stumble upon similar problems and I won't derail this issue further.
from jasmine-maven-plugin.
Closing this issue because it hasn't been active in over 3 years. If this is still an issue with the current version of the plugin please add a comment with the latest information on the issue and I will reopen it.
from jasmine-maven-plugin.
Related Issues (20)
- Jasmine-Maven plugin error in Windows platform HOT 1
- antlr error HOT 1
- ReferenceErrors when running in Jenkins with symlinked JENKINS_HOME HOT 3
- How to use phantomjs 2.1.1 HOT 1
- Jenkins Maven Integration with Jasmine broken since 2.2 (Test results not shown) HOT 2
- Cannot make it work with ManualSpecRunner HOT 2
- Allow users to configure tests to run in a random order HOT 2
- turnoff the default reports generated by this plugin and print only the custom reporter messages HOT 1
- Can't customize ChromeDriver on 3.0-alpha-01 HOT 2
- Update the github pages site HOT 1
- Unable to set WebDriver IE specific capability ignoreProtectedModeSettings HOT 2
- Chrome version 74 HOT 4
- The documentation page is down HOT 3
- Blocked testing with latest version HOT 11
- Cannot make it work with RemoteWebDriver and Docker HOT 5
- timeout error after waiting for 300 sec with version 3.0-beta-01 HOT 2
- jasmine:bdd (version 3.0-beta-01) opens browser but jetty gives 403 HOT 3
- Broken link for usage page HOT 2
- The link to documentation at github is broken. HOT 5
- plugin doesn't work with Chrome version 117 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jasmine-maven-plugin.