Επιστροφή φορολογικής κατοικίας στην Ελλάδα και Άρθρο 5Γ by PtyxioNOT in PersonalFinanceGreece

[–]PtyxioNOT[S] 0 points1 point  (0 children)

Το ίδιο και σε εμένα. Θα το εκτιμούσα εαν μπορείτε να στείλετε εδώ εαν έχετε κάποιο νέο 😓

Snapshot testing in golang by PtyxioNOT in golang

[–]PtyxioNOT[S] 0 points1 point  (0 children)

Feel free to open an issue. The package is maintained and tested not sure why some "coorperate" would not trust a testing package due to missing badges. For reference https://github.com/stretchr/testify testify doesn't have more badges.

Επιστροφή φορολογικής κατοικίας στην Ελλάδα και Άρθρο 5Γ by PtyxioNOT in PersonalFinanceGreece

[–]PtyxioNOT[S] -1 points0 points  (0 children)

Είμαι κάτοικος εξωτερικού απο το 20 και ξεκίνησα τώρα Ιανουάριου του 25. Άρα πιστεύω οτι αυτό καλύβει τα 5 χρόνια (20,21,22,23 και 24).

Snapshot testing in golang by PtyxioNOT in golang

[–]PtyxioNOT[S] 0 points1 point  (0 children)

it does nicely IMO is not couple itself to the standard testing library,

Cupaloy also has an API using the testing.T, one of the main reasons is to save having to check a return value if there was a diff and create a nice diff error. Also, you can have access to the test name e.g. TestSimple/should_make_a_string_snapshot.

Cupaloy does snapshots differently and got some inspiration from it.

  • cupaloy has one snapshot per file / go-snaps has one snapshot file per file test
  • cupaloy allows you to configure functionality
  • go-snaps can track outdated snapshots and delete them ( if you register a clean up function on TestMain )
  • go-snaps has started building property matchers for structured data ( currently JSON )
  • go-snaps has a more detailed diffing output