felangel / felangel/bloc

feat: bloc_test: toPrettyString optional

Open
#3,465 5 comments 0 reactions 1 assignee Claimed by @felangel View on GitHub
enhancement pkg:bloc_test
Dominant language
Dart
Stars
12.5k
Forks
3.4k
PR merge metrics
No merged PRs in 30d

Description

**Description**

We are runinng tests in CI environment and trying to convert flutter test results into JUnit.xml format in order to display test results in CI environment (Azure DevOPS, but in Gitlab for instance it is similar).

However Tests suite JUnit.xml format using XML version 1.0 which forbids to use some special characters such as escape characters for colors.

Would be possible to configure if we want colored output from `blocTest` ?

This output of diff is problematic
```
==== diff ========================================

[SplashState.initial(), SplashState.noProfiles()[-, SplashState.noProfiles()-]]

==== end diff ====================================
````

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.