1 Reply Latest reply on Jan 28, 2014 7:29 AM by gastaldi

    [forge-dev] get shell output in a test

    kwintesencja

      Hi everyone,

       

      how can i get shell output after executing a command?

       

      eg: i have a plugin that count lines of files, in my test i expect the

      command to print 200 so id like to assertEquals that value. Something like

      calling queueInputLines after executing a command to get its output

       

       

      thanks in advance.

       

      --

      <http://www.advancedit.com.br/>Att,

       

      Rafael M. Pestano

       

      Desenvolvedor Java Cia. de Processamento de Dados do Rio Grande do Sul

      Graduando em Ciência da Computação UFRGS

      http://conventionsframework.org <http://conventions.github.io/home/>

      http://rpestano.wordpress.com/

      @realpestano