[arquillian-issues] [JBoss JIRA] (ARQ-1728) Add possibility to report AS console output related to test methods

Stefan Miklosovic (JIRA) issues at jboss.org
Sun Jun 22 08:48:24 EDT 2014


    [ https://issues.jboss.org/browse/ARQ-1728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12978383#comment-12978383 ] 

Stefan Miklosovic edited comment on ARQ-1728 at 6/22/14 8:48 AM:
-----------------------------------------------------------------

[~lfryc]

it should be sufficient just to read server log file in a separate thread which would mimic the behaviour of file tailing, everything which would be written to some kind of buffer while test execution in logically inside a test method would be related to that particular test method and fired from logging extension as a reporting event 

However I can not image how this would be implemented with remote containers (+ they can be located at different physical machine).

The better solution seems to be using some kind of management console of container as such (e.g. jboss-cli.sh) but that console has only ability to read logs "once", so no tailing.

Since every log is in the end written out to some file, the original solution seems to be universal. However, only the fly modification of logs (e.g. filtering them) would be little bit tricky.

There can be custom Spacelift task written particulary for this whole JIRA issue.


was (Author: smikloso):
[~lfryc]

it should be sufficient just to read server log file in a separate thread which would mimic the behaviour of file tailing, everything which would be written to some kind of buffer while test execution in logically inside a test method would be related to that particular test method and fired from logging extension as a reporting event 

> Add possibility to report AS console output related to test methods
> -------------------------------------------------------------------
>
>                 Key: ARQ-1728
>                 URL: https://issues.jboss.org/browse/ARQ-1728
>             Project: Arquillian
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Extension - Recorder
>    Affects Versions: recorder_1.0.0.Alpha3
>            Reporter: Stefan Miklosovic
>
> There is not any possiblity to see what AS has written out to console with test methods. 
> Investigate a way how to match output from AS with particular test method during which that console output has occured.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the arquillian-issues mailing list