[JIRA] (JENKINS-50081) Integration Test for JobAction

2018-05-25 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner commented on  JENKINS-50081  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Integration Test for JobAction   
 

  
 
 
 
 

 
 Ohne Source Code und Exception Trace kann ich schwer helfen...  Aber insgesamt klingt mir Ihre Beschreibung immer noch sehr daran, dass Sie auf dem Holzweg sind. Soweit ich die Nachfragen deute, wollen Sie einen Unit Test schreiben und Methoden an der Job Action aufrufen. Sie sollen aber einen Integrationstest schreiben. D.h. Sie konfigurieren und starten einen Job der als Ergebnis eine Job Action im Jenkins registriert. Anhand dieser Action zeigt sich z.B. der Trend bzw. das Sidepanel Link. Sie können das Meiste über die einfachen Getter prüfen. Die Trendgraph Methoden brauchen Sie nicht zu testen. Die werden ja genau über das Vorhandensein des Trendgraphen geprüft.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50081) Integration Test for JobAction

2018-05-25 Thread wohlgemuth.n...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nikolai Wohlgemuth commented on  JENKINS-50081  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Integration Test for JobAction   
 

  
 
 
 
 

 
 Für den StaplerRequest muss ich mit Hilfe des WebClient eine HtmlPage anfordern. Leider bekomme ich während des Vorgangs folgenden Fehler: com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 500 Server Error for http://localhost:63991/jenkins/job/test0/1/   Kann es sein, dass meine Url falsch ist und wie wähle ich für meine Intention (eine HtmlPage erhalten um an eine StaplerRequest-Instanz zu gelangen) die richtige Extension der Url aus?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50081) Integration Test for JobAction

2018-05-23 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner commented on  JENKINS-50081  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Integration Test for JobAction   
 

  
 
 
 
 

 
 https://github.com/jenkinsci/warnings-plugin/blob/hm-edu-testing/src/test/java/io/jenkins/plugins/analysis/warnings/IssuesRecorderITest.java#L74  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50081) Integration Test for JobAction

2018-05-23 Thread wohlgemuth.n...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nikolai Wohlgemuth commented on  JENKINS-50081  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Integration Test for JobAction   
 

  
 
 
 
 

 
 Die JobAction hat leider nur sehr wenige Methoden, welche komplett unabhängig von einem Request ausgeführt werden können. Wie ist es möglich eine URL aufzurufen aus meinen Tests?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50081) Integration Test for JobAction

2018-05-23 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner commented on  JENKINS-50081  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Integration Test for JobAction   
 

  
 
 
 
 

 
 Den brauchen Sie gar nicht. Alle Methoden mit StaplerRequest werden über das UI aufgerufen. Testen Sie erst mal die Methoden ohne. Die restlichen Methoden können Sie dann in einem zweiten Schritt testen, indem Sie eine URL aufrufen.   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50081) Integration Test for JobAction

2018-05-22 Thread wohlgemuth.n...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nikolai Wohlgemuth commented on  JENKINS-50081  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Integration Test for JobAction   
 

  
 
 
 
 

 
 Ich bin leider mit dem Testen bisher noch nicht sehr weit gekommen.   Aktuell erhalte ich die JobAction und könnte die verschiedenen Methoden testen, allerdings ist es mir bisher nicht gelungen, auf eine Instanz des StaplerRequests zuzugreifen um ihm der JobAction zu übergeben. Ist es möglich einen Request auszulesen oder muss dieser selbst erstellt werden?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50081) Integration Test for JobAction

2018-04-29 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner started work on  JENKINS-50081  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
Change By: 
 Ulli Hafner  
 
 
Status: 
 Open In Progress  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50081) Integration Test for JobAction

2018-04-19 Thread wohlgemuth.n...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nikolai Wohlgemuth assigned an issue to Nikolai Wohlgemuth  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50081  
 
 
  Integration Test for JobAction   
 

  
 
 
 
 

 
Change By: 
 Nikolai Wohlgemuth  
 
 
Assignee: 
 Anna-Maria Sophie Hardi Nikolai Wohlgemuth  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50081) Integration Test for JobAction

2018-04-19 Thread galle...@hm.edu (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Anna-Maria Sophie Hardi assigned an issue to Anna-Maria Sophie Hardi  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50081  
 
 
  Integration Test for JobAction   
 

  
 
 
 
 

 
Change By: 
 Anna-Maria Sophie Hardi  
 
 
Assignee: 
 Ulli Hafner Anna-Maria Sophie Hardi  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50081) Integration Test for JobAction

2018-03-10 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50081  
 
 
  Integration Test for JobAction   
 

  
 
 
 
 

 
Issue Type: 
  Task  
 
 
Assignee: 
 Ulli Hafner  
 
 
Components: 
 analysis-core-plugin  
 
 
Created: 
 2018-03-10 18:45  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Ulli Hafner  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues"