Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Action script project #2

Open
manobi opened this issue Sep 24, 2011 · 6 comments
Open

Action script project #2

manobi opened this issue Sep 24, 2011 · 6 comments

Comments

@manobi
Copy link

manobi commented Sep 24, 2011

How can I use it in an action script project ?

@BrianGenisio
Copy link
Owner

I am wondering if you have tried it and you are running into problems?

In general, there are three reporters that come out of the box in
Jasmine-Flex:

TrivialTraceReporter -- Outputs to the console in Debug mode
TrivialCommandLineReporter -- Outputs to the console (only works on Mac)
TrivialFlexReporter -- Collects data to be used with the
TrivialFlexReporterView in a Flex app

None of these require MXML, however. See this blog post on how to use the
most basic and common setup:
http://houseofbilz.com/archives/2011/04/05/introducing-jasmine-flex/

But, let's say you have a spec called mathSpec.as (
https://gist.github.com/1239597). You can create a runner in ActionScript
only that prints to the trace log: https://gist.github.com/1239601

Of course, you can build the runner that uses any number of reporters
described above.

Let me know if you have any questions,
Brian

On Fri, Sep 23, 2011 at 11:41 PM, manobi <
reply@reply.github.com>wrote:

How can I use it in an action script project ?

Reply to this email directly or view it on GitHub:
#2

@manobi
Copy link
Author

manobi commented Sep 24, 2011

I will try and tell about my progress, thanks.

@manobi
Copy link
Author

manobi commented Sep 24, 2011

When I run the project using your runner example, don't output in my console.

@BrianGenisio
Copy link
Owner

The trace reporter uses debug traces. Are you running it under debug mode?
On Sep 24, 2011 6:29 PM, "manobi" <
reply@reply.github.com>
wrote:

When I run the project using your runner example, don't output in my
console.

Reply to this email directly or view it on GitHub:
#2 (comment)

@manobi
Copy link
Author

manobi commented Sep 25, 2011

Yeah I install flash debugger, and works nice, thank you.
I'm new to action script world, but I'm really happy to find your project.

Congratulations for this amazing port.

@robkuz
Copy link

robkuz commented Jan 14, 2013

I can not get it to run in pure AS3 (Flexbuilder 4.7) despite the gist you published.
It cant find the variable "jasmine".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants