PHPUnit Console Window - Make File Hyperlinks

When PHPUnit has failed tests, the callstack files in the list are hyperlinks (can click to open them.) Is there a way to do this from failed results?

These are not hyperlinks>>>>>>>>>>

PHPUnit_Framework_ExpectationFailedException : .
C:\inetpub\Intranet_Local\library\classes\dialog\ChooseProvider.php:44 Avoid variables with short names like $id. Configured minimum length is 3.
C:\inetpub\Intranet_Local\library\classes\dialog\ChooseProvider.php:599 Avoid variables with short names like $id. Configured minimum length is 3.
Failed asserting that 2 matches expected 0.


These are hyperlinks>>>>>>>

#0 C:\PHP\PEAR\PHPUnit\Framework\Assert.php(2100): PHPUnit_Framework_Constraint_IsEqual->evaluate(2, '.??C:\inetpub\I...')
#1 C:\PHP\PEAR\PHPUnit\Framework\Assert.php(441): PHPUnit_Framework_Assert::assertThat(2, Object(PHPUnit_Framework_Constraint_IsEqual), '.??C:\inetpub\I...')
#2 C:\inetpub\Intranet_Local\phpunit\library\classes\IntranetTest.php(560): PHPUnit_Framework_Assert::assertEquals(0, 2, '.??C:\inetpub\I...')
#3 [internal function]: IntranetTest->testRunPMD()
#4 C:\PHP\PEAR\PHPUnit\Framework\TestCase.php(942): ReflectionMethod->invokeArgs(Object(IntranetTest), Array)
#5 C:\PHP\PEAR\PHPUnit\Framework\TestCase.php(804): PHPUnit_Framework_TestCase->runTest()
#6 C:\PHP\PEAR\PHPUnit\Framework\TestResult.php(649): PHPUnit_Framework_TestCase->runBare()
#7 C:\PHP\PEAR\PHPUnit\Framework\TestCase.php(751): PHPUnit_Framework_TestResult->run(Object(IntranetTest))
#8 C:\PHP\PEAR\PHPUnit\Framework\TestSuite.php(772): PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult))
#9 C:\PHP\PEAR\PHPUnit\Framework\TestSuite.php(745): PHPUnit_Framework_TestSuite->runTest(Object(IntranetTest), Object(PHPUnit_Framework_TestResult))
#10 C:\PHP\PEAR\PHPUnit\TextUI\TestRunner.php(325): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult), '/testRunPMD/', Array, Array, false)
#11 C:\PHP\PEAR\PHPUnit\TextUI\Command.php(192): PHPUnit_TextUI_TestRunner->doRun(Object(PHPUnit_Framework_TestSuite), Array)
#12 C:\Users\keithdavis\AppData\Local\Temp\ide-phpunit.php(194): PHPUnit_TextUI_Command->run(Array, true)
#13 C:\Users\keithdavis\AppData\Local\Temp\ide-phpunit.php(386): IDE_PHPUnit_TextUI_Command::main()
#14 {main}

13 comments

@Keith
Please submit a feature request.

Thank you for feedback!

0

Oh, you have got to be kidding me....

I just went to create an issue and something has happened to my YouTrack account. I logged in with Google, as I always do, and it created a new account. Meaning, all of my tickets are gone!!!

0

Keith,

I am not a youtrack expert but as far as I can see that you have two accounts - Keith.Davies(your old one) and laurin1(new one). Do you use the same Google Account for logging in?

Thank you for feedback!

0

Yes, I use the same account. I never actually logged in any other way, than with my Google account. Today, I did what I always do and it created the new account. I changed the username to laurin1 (thought maybe that was a change to my account.)

Who do I talk to get it fixed? I have tons of open tickets.

0

Keith,

I will contact to youtrack team ASAP.

Thank you for feedback!

0

I found a way to get logged in as my old account (I made YouTrack send me a password reset.)

So, now I can see both accounts. My Google account has two email addresses on it:

keithdavis@solidtechservice.com
laurinkeithdavis@gmail.com

For some reason today, when I logged in it was with my gmail account (I usually use the other one) and YouTrack picked it up as a different account. I tried to login with the other address, but that doesn't work (still logs into the new account.)

I'm opening YouTrack tickets in both accounts, and putting all of this information in it. I can work around it right now, but I need the new account deleted (or merged with my old account, however that happens.)

0

Keith,

I can work around it right now, but I need the new account deleted (or merged with my old account, however that happens.)

I will ask an administrator about it.

So you can submit an issue now;)

0

I merged your two accounts and set your email to "laur****@gmail.com". You can now re-login with your google OpenID and this should be your "old" account. After that, you can change e-mail back to whatever address you want.

0

Please sign in to leave a comment.