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

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

Conversation

Notices

  1. Embed this notice
    feld (feld@bikeshed.party)'s status on Sunday, 04-Jun-2023 23:48:38 JST feld feld
    in reply to
    • Wilfred Hughes
    Hmmm that's interesting
    In conversation Sunday, 04-Jun-2023 23:48:38 JST from bikeshed.party permalink
    • Embed this notice
      Wilfred Hughes (wilfredh@mastodon.social)'s status on Sunday, 04-Jun-2023 23:48:39 JST Wilfred Hughes Wilfred 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 conversation Sunday, 04-Jun-2023 23:48:39 JST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • 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.