unit tag

22 questions


2 answers
67 views
0
I want to declare the class that inherited the abstract class as an inner class in private and access it from the outside.

■ MyAbstractClass.javapublic abstract class MyAbstractClass { publicMyAbstractClass(){ } public abstract int notifyAbs(inta);}■ MyClassAbstractInnerClass.javapublicclassMyClassAbstractInnerClass{ priv...

1 years ago

1 answers
105 views
0
Error when trying to get coverage in xdebug by running laravel unit test

PrerequisitesWhen I tried to get coverage with xdebug by running the unit test of laravel, I got the following error:If anyone knows how to deal with it, I would appreciate it if you could let me know...

1 years ago

1 answers
86 views
0
I want to make sure that the Spring Boot WebFlux jUnit test passes through onErrorResume()

Thank you for your continuous support.I would like to confirm that the Spring Boot WebFlux jUnit test passes through onErrorResume().When Exception occurs, the jUnit test stops and the path cannot be ...

1 years ago

2 answers
68 views
0
I want to mock standard functions in PHP.

If you need to write a test code for a code like ↓class Standard_Function extensions\Utility{ /** * @param array [1,2] (fixed) * @return array */ public static function get_Shuffle($array){ return...

1 years ago

1 answers
144 views
0
Please tell me your point of view when writing unit tests on unit.

We are planning to conduct a unit test using unit 5 in the project.I've never written a test code before, so I don't know from what point of view to write it.For example, I wrote it to test get(), put...

1 years ago

1 answers
76 views
0
Error when installing laravel in Cloud9 and testing phpunit.

The following steps will result in an error.(1) Install Ravel in Cloud9.(2) Copy route.php to route_a.php.Add the following description to route_a.phpRoute::get('/test/', function(){ echo'test';});(3)...

1 years ago

2 answers
76 views
0
PHPUnit Test Confirms Registration Test Response Does Not Work and Error Occurs

I am doing multi-posting, thank you for your cooperation.https://teratail.com/questions/c842khs7083hcaI am creating apps with laravel and vue.js in the following environments.MacOSPHP 7.4.1Lavel 6.20....

1 years ago

1 answers
79 views
0
"InvalidSessionIdException: invalid session id" Error in browser test on disk in laravel 6.0

Code AffectedI don't know how to resolve the error in the next test on laravel diskclass HomeTest extensions DuskTestCase{ /** * ADask test example. * * @return void */ public function testExample...

1 years ago

2 answers
130 views
0
C fopen vs open

I learned both in Linux class, but open is only on the test and I've never actually used it.You can open both files, but even if you look at other codes, they only use fopen files. Why is that?

1 years ago

1 answers
135 views
0
Please explain Gravity and layout_gravity

If you look at XML layout properties, there are Android:gravity and Android:layout_gravityWhen adding values such as center, center_vertical, center_horizontal, etcPlease explain the difference betwee...

« - 2 - »

© 2024 OneMinuteCode. All rights reserved.