Not sure on Windows licensing, but their major enterprise software such as SQL Server and SharePoint are free for dev use cases. When installing you have to provide a license. You can select a "Dev license" option, which gives you access to all the Enterprise Edition (or whatever name they're calling the full-featured edition) features for free for dev.
Because Microsoft permits testing without a license? Or because you believe, in practice, Microsoft will not assert its intellectual property rights against someone who is only testing? (I am personally OK with the first, not the second.)
Functionally you can use it indefinitely without licensing and only have cosmetic issues in the form of a watermark and some inability to change appearance.