Coder Social home page Coder Social logo

oeunit's People

Contributors

cameronwills avatar msabbott avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

oeunit's Issues

Can't run test from OpenEdge 11.5

When trying to run a test from OpenEdge 11.5 Developer Studio you get the following error:

Encountered an input-blocking statement while executing a user-defined function or non-void method: 'propGet_ResultsWindow' that is invalid within the current runtime context. (2780)

Running the same from 11.3 works without problems...

AssertString:IsNotNullOrEmpty does not use failMessage parameter

Method AssertString:IsNotNullOrEmpty(val,failMessage) does not pass the failMessage parameter to subsequent calls to Assert:IsNotNull and Assert:AreNotEqual and instead calls the variants without these parameters.

This causes a default message to be returned when one has been passed as a parameter.

Installation Documentation - Incorrect Path in Screenshot

In the installation documentation (file: /doc/installation.html), in step 2, it states:

Add an entry to PROPATH pointing to the \src folder where you extracted the archive.

This is correct, however, in the following screenshot, the highlighted Propath entry points to the parent directory of "C:\workspace\OEUnit".

This should probably be changed to "C:\workspace\OEUnit\src".

Master-branch: use of dataProvider

Hi,
I tried the dataProvider but I always get an error in Open Edge Studio.
Error = "Unable to understand after -- "(dataProvider=". (247)"

I added the "\OEUnit-master\src" directory to my propath
I just copied the code from the provided documentation in my class.

USING Progress.Lang.*.

ROUTINE-LEVEL ON ERROR UNDO, THROW.

USING OEUnit.Assertion.Assert.
USING OEUnit.Data.DataProvider.

CLASS SimpleTest:

@test (dataProvider=StatusChangeProvider).
METHOD PUBLIC VOID AcceptStatusChange(INPUT varStatus AS CHARACTER, INPUT varAccepted AS LOGICAL):
END METHOD.

@dataProvider.
METHOD PUBLIC DataProvider StatusChangeProvider():
DEFINE VARIABLE dataProvider AS DataProvider NO-UNDO.
dataProvider = NEW DataProvider().
RETURN dataProvider.
END METHOD.
END CLASS.

What is wrong here??

OEUnit on OE12.2?

Hi,

Has anyone gotten OEUnit working from within Developer Studio/Eclipse of OE12.2?
Created the toolbar button/menu item as per the instructions, but nothing happens when clicking it...
Guess we'll have to give in and start using ABLUnit after all?

JUnit Reporter - Output Package Information

When the JUnit reporter is used, the "package" attribute is not output for test suites or test cases.

This can be output by using the package name of the test suite/test class. This involves stripping off the class name from the full class name (inc. package) so that just the package remains.

Project status

Not an issue, just a question: is the project still alive ? Or did everybody move to ABLUnit (or anything else) ?

Shortcut: Rerun OEUnit Test

In Eclipse JUnit runner, I usually set the keyboard shortcut CTRL + SHIFT + F11 to "Rerun JUnit Test" (easy to remember as run shortcut is CTRL +F11).

This enables me to easily rerun my tests from the keyboard.

Is it possible to do something similar in OEUnit, when running from OpenEdge Architect?

Regards
Brian

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.