tahoe-lafs / trac2gitea

Utility for migrating Trac projects into Gitea.
GNU General Public License v3.0
0 stars 0 forks source link

Tests do not work out of the box #2

Closed btlogy closed 5 months ago

btlogy commented 5 months ago

Any documented make commands seem to require the installation of mockgen:

$ make
/home/appuser/go/bin/mockgen -destination=mock_markdown/converter.go github.com/stevejefferson/trac2gitea/markdown Converter
make: /home/appuser/go/bin/mockgen: No such file or directory
make: *** [Makefile:57: mock_markdown/converter.go] Error 127

After trying to solve this using the following extra commands:

go install go.uber.org/mock/mockgen@latest
go get go.uber.org/mock/mockgen/model

We are left with make test complaining about some broken package name issue:

btlogy commented 5 months ago

Closed by #6