Skip to content

Commit

Permalink
Kompari section in TMIL-12 (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
spirali authored Jan 7, 2025
1 parent ab34813 commit d8b0c8d
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions content/blog/2025-01-09-tmil-12/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,29 @@ It handles text layout, mostly at the level of line breaking and resolving glyph

**TODO: Add lots of stuff here**

## Kompari

[Kompari] is a tool for visual inspection of snapshot tests.
This project is a new addition to Linebender.

<img src="kompari.png"/>

Kompari can be used as a standalone tool, but it is also prepared to be used from xtasks. Using it from xtask is also the main usage planned for other Linebender repositories.
When running snapshot tests, you will be able to generate a report that showing failed tests:

```commandline
cargo xtask kompari report
```

Over the last month we have been laying the groundwork for the project:
Added initial functionality and established CI in the repository.

Ongoing work:

* [kompari#12] - Refactoring the project to make it more modular
* [kompari#13] - Interactive test blessing


## Masonry

Masonry is the widget system used by Xilem.
Expand Down Expand Up @@ -155,3 +178,7 @@ See [#office hours in Zulip](https://xi.zulipchat.com/#narrow/channel/359642-off
[Color 0.2.0]: https://github.com/linebender/color/releases/tag/v0.2.0
[Color 0.2.1]: https://github.com/linebender/color/releases/tag/v0.2.1
[Peniko 0.3.0]: https://github.com/linebender/peniko/releases/tag/v0.3.0

[Kompari]: https://github.com/linebender/kompari
[kompari#12]: https://github.com/linebender/kompari/pull/12
[kompari#13]: https://github.com/linebender/kompari/pull/13
Binary file added content/blog/2025-01-09-tmil-12/kompari.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d8b0c8d

Please sign in to comment.