πŸ“Š PHP
Q. Which PHPUnit annotation runs a method before each test?
  • (A) @before
  • (B) @setup
  • (C) @init
  • (D) @start
πŸ’¬ Discuss
βœ… Correct Answer: (A) @before

Explanation: @before runs before each test.

Explanation by: Kanak Sharma
@before runs before each test.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
19
Total Visits
πŸ“½οΈ
3 mo ago
Published
πŸŽ–οΈ
Kanak Sharma
Publisher
πŸ“ˆ
82%
Success Rate