Activity
From 09/20/2022 to 10/19/2022
10/19/2022
- 05:40 PM Feature #6237: OEUnit support
- I am implementing the procedure-based unit tests for @ABLUnit@, and I do not know the proper way to create procedure ...
- 05:13 PM Feature #6237: OEUnit support
- Unlike JUnit5, @OEUnit@ uses a single instance to run all instance-related test methods in the class (JUnit5 by defau...
- 08:50 AM Feature #6237: OEUnit support
- Issues #6237-156, #6237-163 and #6237-170 now fixed in @6237-173-r14306.diff@. The diff is against the FWD rev. 14306.
- 08:35 AM Feature #6237: OEUnit support
- Greg Shah wrote:
> > The first method is not possible, since there is no such place in the custom test engine code, ... - 08:00 AM Feature #6237: OEUnit support
- > The first method is not possible, since there is no such place in the custom test engine code, where all root test ...
- 07:54 AM Support #6848: TRPL questions and issues
- Please just read the @pkgname@ and @classname@ annotations from the root node of the AST. You should not be converti...
10/18/2022
- 05:14 PM Feature #6237: OEUnit support
- Another problem to solve related to test method discovery:
# the user requests running a Java package as JUnit Tes... - 04:18 PM Support #6848: TRPL questions and issues
- I need to convert legacy class names to converted Java class name (simple names and FQN). Which library method should...
- 11:34 AM Support #6848: TRPL questions and issues
- > I need to either find the place in the code, in which the prog.symbol can be converted to java symbol and fix it
... - 11:32 AM Support #6848: TRPL questions and issues
- Greg Shah wrote:
> The @SYMBOL@ you are referencing may be the @prog.symbol@ type. Notice this is in the @prog@ (fo... - 10:49 AM Support #6848: TRPL questions and issues
- The @SYMBOL@ you are referencing may be the @prog.symbol@ type. Notice this is in the @prog@ (for @Progress@) namesp...
- 10:05 AM Support #6848: TRPL questions and issues
- Greg Shah wrote:
> We wouldn't get very far in conversion if we couldn't emit symbols or data types. The authoritat...
10/17/2022
- 07:22 PM Support #6848: TRPL questions and issues
- We wouldn't get very far in conversion if we couldn't emit symbols or data types. The authoritative source of how Ja...
- 07:07 PM Support #6848: TRPL questions and issues
- I need to create a Java annotation of the following type:...
- 06:15 PM Support #6848: TRPL questions and issues
- @dbref/collect_refs.xml@ is currently disabled code and was left there on purpose. It is intended to identify refere...
- 04:28 PM Support #6848: TRPL questions and issues
- About the legacy annotation attribute values.
Annotations containing attributes can look like this:... - 03:57 PM Support #6848: TRPL questions and issues
- I found, that to convert a Java array to @java.util.List@, the @createListFromObject@ library function can be used.
... - 03:29 PM Support #6848: TRPL questions and issues
- Questions about the TRPL language should be posted and discussed here.
- 03:27 PM Support #6848 (New): TRPL questions and issues
- 08:16 AM Feature #6237: OEUnit support
- Greg Shah wrote:
> Think about it and try to estimate the changes that are needed.
OK - 07:52 AM Feature #6237: OEUnit support
- Think about it and try to estimate the changes that are needed.
- 07:46 AM Feature #6237: OEUnit support
- Greg Shah wrote:
> > We will need to support dynamic tests then: the tests which are created in runtime by executing... - 07:20 AM Feature #6237: OEUnit support
- > We will need to support dynamic tests then: the tests which are created in runtime by executing customer 4gl code. ...
- 07:12 AM Feature #6237: OEUnit support
- Greg Shah wrote:
> Vladimir Tsichevski wrote:
> > Greg Shah wrote:
> > > > I think, we will not support these, ins... - 07:05 AM Feature #6237: OEUnit support
- Vladimir Tsichevski wrote:
> Greg Shah wrote:
> > > I think, we will not support these, instead the declarative app...
10/14/2022
- 03:32 PM Feature #6237: OEUnit support
- Current implementation was developed in assumption that the @discover@ method of a test engine is called by the test ...
- 02:43 PM Feature #6237: OEUnit support
- Vladimir Tsichevski wrote:
> Test inheritance is implemented in @OEUnit@: not only the methods in the class are disc... - 01:46 PM Feature #6237: OEUnit support
- Vladimir Tsichevski wrote:
> Annotations conversion bug found: wrong Java annotation generated: @@BeforeAll@ instead... - 01:34 PM Feature #6237: OEUnit support
- Annotations conversion bug found: wrong Java annotation generated: @@BeforeAll@ instead of @@BeforeEach@ and @@After...
- 11:47 AM Feature #6237: OEUnit support
- Test inheritance is implemented in @OEUnit@: not only the methods in the class are discovered, but also methods in su...
- 10:12 AM Feature #6237: OEUnit support
- Greg Shah wrote:
> > I think, we will not support these, instead the declarative approach will be used, so the same ... - 10:11 AM Feature #6237: OEUnit support
- > I think, we will not support these, instead the declarative approach will be used, so the same class will look like...
- 10:06 AM Feature #6237: OEUnit support
- @OEUnit@ supports dynamic test suites, for example:...
10/13/2022
- 04:18 PM Feature #6237: OEUnit support
- Greg Shah wrote:
> The key question that must be answered about OEUnit and ABLUnit is whether each test or each te... - 03:45 PM Feature #6237: OEUnit support
- In @OEUnit@ test methods annotated with @@Ignore@, are not executed, but a test result with the status @Ignored@ is g...
- 02:48 PM Feature #6237: OEUnit support
- @OEUnit@ runs the after tests methods even when the before test methods and tests methods sequence ended prematurely ...
- 02:36 PM Feature #6237: OEUnit support
- @OEUnit@ has two more annotations: @DataProvider@ and @Fixture@. We probably need learn their meaning and add the sup...
- 02:32 PM Feature #6237: OEUnit support
- At least, @OEUnit@ discovers test recursively (when a test class is a test suite, references classes may be test suit...
- 08:29 AM Feature #6237: OEUnit support
- > I suppose FWD expects that everything is executed in some top-level 4gl procedure. In our case we have no such proc...
10/12/2022
- 06:14 PM Feature #6237: OEUnit support
- Now tests can be executed remotely. See @6237-remote.diff@.
Here it is how it looks when running the @Run as... > ...
10/05/2022
- 05:48 PM Feature #6237: OEUnit support
- Yes, I assumed as much. It is exactly why I suggested that we create a new thread to execute @ClientCore.start()@ in...
- 03:31 PM Feature #6237: OEUnit support
- Greg Shah wrote:
> As part of my suggestion in #6237-61, I was assuming that the test engine client would "Define th... - 03:27 PM Feature #6237: OEUnit support
- As part of my suggestion in #6237-61, I was assuming that the test engine client would "Define the lambda as a execut...
- 03:00 PM Feature #6237: OEUnit support
- I see some problem here.
The JUnit5 testing life cycle assumes the program is being called from outside multiple t...
10/04/2022
- 06:51 AM Feature #6237: OEUnit support
- To pass test descriptors over network, we need to make them @Serializable@ or @Externalizable@. Original POS test des...
10/03/2022
- 12:59 PM Feature #6237: OEUnit support
- I have no objection to the bootstrap cfg approach.
- 12:09 PM Feature #6237: OEUnit support
- Vladimir Tsichevski wrote:
> I think, we can use the @BootstrapConfig@ to pass the test engine discover request data... - 10:20 AM Feature #6237: OEUnit support
- I think, we can use the @BootstrapConfig@ to pass the test engine discover request data from test runner (e.g. Eclips...
- 09:13 AM Feature #6237: OEUnit support
- One more change required for the JUnin5 framework would able to discover the custom test engine.
See @6237-addon.d...
09/30/2022
- 02:05 PM Feature #6237: OEUnit support
- Greg Shah wrote:
> As list of pending changes as noted by Vladimir via email:
>
> [...]
>
> For changes 1 thro...
09/29/2022
- 02:03 PM Feature #6237: OEUnit support
- As list of pending changes as noted by Vladimir via email:...
- 11:46 AM Feature #6237: OEUnit support
- Greg Shah wrote:
> > So we need to either disable the Jupiter engine somehow (which I failed to find out how), or us... - 08:10 AM Feature #6237: OEUnit support
- > So we need to either disable the Jupiter engine somehow (which I failed to find out how), or use our own markup for...
- 05:09 AM Feature #6237: OEUnit support
- Vladimir Tsichevski wrote:
> Vladimir Tsichevski wrote:
>
> > The little problem with Eclipse is that it always u...
09/28/2022
- 12:23 PM Feature #6237: OEUnit support
- Vladimir Tsichevski wrote:
> The little problem with Eclipse is that it always uses some version of the "Jupiter" ... - 12:16 PM Feature #6237: OEUnit support
- Greg Shah wrote:
> Code Review uast-hints-unit-test-type.diff
>
> I don't see any purpose in having @ELEM_UNITTES...
09/27/2022
- 02:14 PM Feature #6237: OEUnit support
- Greg Shah wrote:
> Please look in your directory and search on @RemoteErrorData@ to see the ACL you must have to ens... - 02:08 PM Feature #6237: OEUnit support
- Greg Shah wrote:
> No, not yet. I'm hoping to open this up on Thursday.
>
> Before any commit happens, I will ne... - 02:07 PM Feature #6237: OEUnit support
- No, not yet. I'm hoping to open this up on Thursday.
Before any commit happens, I will need to see the proposed d... - 02:02 PM Feature #6237: OEUnit support
- Greg Shah wrote:
> Code Review strict-junit5.diff
>
> I have no objections except to note that history entries ar... - 01:45 PM Feature #6237: OEUnit support
- Greg Shah wrote:
> Code Review junit5-custom-engine.zip
>
> Overall, I don't have an objection to the code so far... - 01:42 PM Feature #6237: OEUnit support
- Code Review uast-hints-unit-test-type.diff
I don't see any purpose in having @ELEM_UNITTESTTYPE@ and also the @UNI... - 01:37 PM Feature #6237: OEUnit support
- Code Review strict-junit5.diff
I have no objections except to note that history entries are needed. - 01:36 PM Feature #6237: OEUnit support
- Code Review junit5-custom-engine.zip
Overall, I don't have an objection to the code so far. I understand it is ea... - 01:12 PM Feature #6237: OEUnit support
- Please look in your directory and search on @RemoteErrorData@ to see the ACL you must have to ensure access to the ne...
- 12:58 PM Feature #6237: OEUnit support
- Greg Shah wrote:
> Please post your code here.
Done:
@6237-remote-object-problem.diff@ - 12:38 PM Feature #6237: OEUnit support
- Please post your code here.
- 12:19 PM Feature #6237: OEUnit support
- Greg Shah wrote:
> > And the implementation class @UnitTestServer@
>
> @UnitTestServer@ should not be in packag... - 09:38 AM Feature #6237: OEUnit support
- > I mean, if we replace the execution of a method of main by execution of an arbitrary lambda function, the access to...
- 09:11 AM Feature #6237: OEUnit support
- Vladimir Tsichevski wrote:
> and I got the error:
>
> [...]
From experiments I learned that some existing re...
09/26/2022
- 06:14 PM Feature #6237: OEUnit support
- Greg Shah wrote:
> > If we just replace the call @main.standardEntry()@ by some lambda passed to the method as a par... - 01:25 PM Feature #6237: OEUnit support
- > If we just replace the call @main.standardEntry()@ by some lambda passed to the method as a parameter, we at least ...
- 10:57 AM Feature #6237: OEUnit support
- Question: currently a remote instance of @MainEntry@ is not only obtained inside the @ClientCore.start()@, but some m...
- 08:09 AM Feature #6237: OEUnit support
- Not exactly. The conversation thread starts when the session is created with the server. Everything else (steps 1, ...
- 07:45 AM Feature #6237: OEUnit support
- Greg Shah wrote:
> Vladimir Tsichevski wrote:
> > Greg Shah wrote:
> >
> > > > Why do we need another thread?
>... - 07:16 AM Feature #6237: OEUnit support
- Vladimir Tsichevski wrote:
> Greg Shah wrote:
>
> > > Why do we need another thread?
> >
> > It seems incorrec... - 07:10 AM Feature #6237: OEUnit support
- Greg Shah wrote:
>
> I've been assuming that the JUnit stuff is implicitly batch mode, but perhaps it is possibl... - 06:49 AM Feature #6237: OEUnit support
- Greg Shah wrote:
> > Why do we need another thread?
>
> It seems incorrect to "take over" the calling thread to... - 05:47 AM Feature #6237: OEUnit support
- > Does that mean we will not use the StandardServer at all?
Maybe. At least @StandardServer.standardEntry()@ is n...
09/23/2022
- 03:17 PM Feature #6237: OEUnit support
- Greg Shah wrote:
> I think the way to go is to create a FWD client in-process from the JUnit @TestEngine@ code:
>... - 08:55 AM Feature #6237: OEUnit support
- Greg Shah wrote:
> There is no patch posted for the hints changes.
Strangely enough :-( - 08:28 AM Feature #6237: OEUnit support
- There is no patch posted for the hints changes.
- 05:57 AM Feature #6237: OEUnit support
- Vladimir Tsichevski wrote:
> Greg Shah wrote:
>
> > For now, just implement the multilevel configuration approach...
09/21/2022
- 12:25 PM Feature #6237: OEUnit support
- Greg Shah wrote:
> For now, just implement the multilevel configuration approach. If it gets to the point where w... - 12:24 PM Feature #6237: OEUnit support
- I've created a custom JUnit5 testing engine (see @junit5-custom-engine.zip@).
This is the first version, kind of P... - 12:11 PM Feature #6237: OEUnit support
- > If we can define this configuration parameter at any level, using also file and directory hints, then we do not nee...
- 11:55 AM Feature #6237: OEUnit support
- Greg Shah wrote:
> I think we need to know on a per-file level which unit testing framework is used. This is not ha... - 11:28 AM Feature #6237: OEUnit support
- I think we need to know on a per-file level which unit testing framework is used. This is not hard to do. As noted ...
- 11:15 AM Feature #6237: OEUnit support
- Marian Edu wrote:
> Vladimir Tsichevski wrote:
> > So, you propose to pre-scan *all* classes in conversion project ... - 08:59 AM Feature #6237: OEUnit support
- Vladimir Tsichevski wrote:
> So, you propose to pre-scan *all* classes in conversion project to find any @assertXXX@... - 08:44 AM Feature #6237: OEUnit support
- > you propose to pre-scan all classes in conversion project to find any assertXXX statement
This is pretty easy. ... - 08:19 AM Feature #6237: OEUnit support
- Marian Edu wrote:
> Vladimir Tsichevski wrote:
>
> > So, since neither of these methods is reliable
>
> I real... - 08:09 AM Feature #6237: OEUnit support
- > adding implementation for OEUnit Assert in FWD would be the easier path.
We will provide the OEUnit Assert supp... - 07:21 AM Feature #6237: OEUnit support
- Vladimir Tsichevski wrote:
> So, since neither of these methods is reliable
I really fail to see the issue here...
09/20/2022
- 07:35 AM Feature #6237: OEUnit support
- > emit a warning and ignore the unit test annotations.
This one. - 05:54 AM Feature #6237: OEUnit support
- Marian Edu wrote:
> Vladimir Tsichevski wrote:
>
> > I think, our goal is to have neither original @OEUnit@ nor @... - 02:56 AM Feature #6237: OEUnit support
- Vladimir Tsichevski wrote:
> I think, our goal is to have neither original @OEUnit@ nor @ABLUnit@ in the @PROPATH@...
Also available in: Atom