Skip to content

Commit

Permalink
feat(platform): Add OutputCaptureExtension to BootApplicationTest for…
Browse files Browse the repository at this point in the history
… capturing output during tests
  • Loading branch information
vnobo committed Oct 11, 2024
1 parent 57afcdd commit ae32b66
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package com.plate.boot;

import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.boot.test.system.OutputCaptureExtension;

import javax.crypto.BadPaddingException;
import javax.crypto.Cipher;
Expand All @@ -13,6 +15,7 @@
/**
* @author <a href="https://github.com/vnobo">Alex Bob</a>
*/
@ExtendWith(OutputCaptureExtension.class)
class BootApplicationTest {

@Test
Expand Down

0 comments on commit ae32b66

Please sign in to comment.