GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    Wilfred Hughes (wilfredh@mastodon.social)'s status on Sunday, 04-Jun-2023 23:48:39 JSTWilfred HughesWilfred Hughes

    Rust has an elegant solution to testing private functions: you put the test in the file that defines the function. It generally works well.

    I've even seen people argue that it makes mocking much less necessary! I've not felt the need to mock in Rust so far.

    In conversationSunday, 04-Jun-2023 23:48:39 JST from mastodon.socialpermalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.